Hide rows for specified slice.

Post Reply
biggie
Posts: 9
Joined: Wed Jul 03, 2024 9:50 am
OLAP Product: IBM TM1
Version: 2.0.88
Excel Version: 2019

Hide rows for specified slice.

Post by biggie »

Hi.
I have the next cube view with dims Context: Period; Rows: A, B; Column: Rate; Zero supression enable. This is a test cube to demonstrate problem.

Image

I want for slice [Period].[~AnyPeriod~] + [A].[A_C] show only [/B].[B_C] element (without B_N_*_*). In other cases, elements B_C, B_N_*_* must be displayed.

I tried:
1. Focus and hide B_N_1_1, B_N_1_2. But its hide for all A dim elements
Image

2. Write Rule to set Zero for [Period].[~AnyPeriod~] + [A].[A_C] + [B_C].[B_N_1_1, B_N_1_2], but zero supression algorithm supress zeros on C-level ([A].[A_C]) depends for childrens elements values, not overrided value by rules.
Image

3. Think about using MDX for B dim. Like GENERATE([A].MEMBERS, FILTER(B.MEMBERS, [Test].([Period].CURRENTMEMBER, [A].CURRENTMEMBER) > 0)), but Its doesnt work as I expected.

4. Use CellSecurity to set NONE for specified elements [B_N_*_*]. It didn't work. maybe because I have admin rights. Im not sure that its good way.

I would be grateful if you suggest a solution to this problem. Thanks.
User avatar
gtonkin
MVP
Posts: 1254
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: Latest and greatest
Excel Version: Office 365 64-bit
Location: JHB, South Africa
Contact:

Re: Hide rows for specified slice.

Post by gtonkin »

Try Kathryn's article for insights on making asymmetrical views.
BR, George.

Learn something new: MDX Views
Post Reply