Hi all,
I need guidance with ViewZeroOut function. I used this function in the TI process (Prolog lab) that loads a cube, but the cube does not get zeroed out when this TI process is run. I created the view that needs to be zeroed out in a TI window, I chose the required subset for each dimension elements. However, I think I haven't chosen the correct subset and hence the cube is not getting cleared out. Could you please guide me on the below questions when selecting the necessary subset to be zeroed out -
1) In case of dimensions with multiple levels of consolidation, which level of consolidation should be selected? I selected the top-most level.
2) Should I expand all the levels of elements before selecting the level of consolidation/leaf elements?
Thanks
ViewZeroOut not working
- jim wood
- Site Admin
- Posts: 3958
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: ViewZeroOut not working
It would really help if you post your code. That way we will be able to get a better idea of what is going on,
Jim.
Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Posts: 18
- Joined: Mon Aug 05, 2013 9:25 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2010
Re: ViewZeroOut not working
First just put a processbreak after you created your view in your TI. Then look at the cube to see if the view is what you expected.
If I am not mistaken I dont think you can zero out a view at a consolidated level. You need to either:
1. Create a view of all N-level elements or some N-level elements (must be N level)
2. If you just want to zero out every cell in the cube you can use CubeClearData.
If I am not mistaken I dont think you can zero out a view at a consolidated level. You need to either:
1. Create a view of all N-level elements or some N-level elements (must be N level)
2. If you just want to zero out every cell in the cube you can use CubeClearData.
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: ViewZeroOut not working
When using the ViewZeroOut function you only need to specify subsets for those dimensions in which you don't want to clear all the elements. If all elements should be cleared on a dimension then don't specify a subset for that dimension. When it comes to the dimensions where you want to pick only certain elements to clear, the subset must include only leaf-level elements. Picking consolidations will not work.
-
- Regular Participant
- Posts: 155
- Joined: Tue May 14, 2013 1:53 pm
- OLAP Product: Cognos BI, TM1
- Version: 9.5.2 - 10.1.1
- Excel Version: Excel 2003
Re: ViewZeroOut not working
Hi Jim and uchow10,
Jim I'm trying to select the subset to be zeroed out in the attached window. Uchow10, thanks for the suggestion. I filtered at level 0 (leaf level elements) for each of the dimensions and it worked.
Jim I'm trying to select the subset to be zeroed out in the attached window. Uchow10, thanks for the suggestion. I filtered at level 0 (leaf level elements) for each of the dimensions and it worked.
- Attachments
-
- View Zero Out
- ZeroView.JPG (112.24 KiB) Viewed 5621 times
-
- Regular Participant
- Posts: 155
- Joined: Tue May 14, 2013 1:53 pm
- OLAP Product: Cognos BI, TM1
- Version: 9.5.2 - 10.1.1
- Excel Version: Excel 2003
Re: ViewZeroOut not working
Thanks Tom for your guidance.