dbTalk Databases Forums  

Hide descendants (Visible = ‘False') and Sum function

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Hide descendants (Visible = ‘False') and Sum function in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nik
 
Posts: n/a

Default Hide descendants (Visible = ‘False') and Sum function - 05-25-2004 , 11:00 AM






Hi All,

Since the regular roll-up did not work, I created a calculated member
that is the SUM of the values of three members which rolls up to its
parent. Now I need to hide these three members (Children).
For Example
‘All Time‘--> Quarter (Q1)---> Month (Jan, Feb, March)


MDX: iif([Time].currentmember.level.name= "Quarter",
--Then
Sum({[Time].currentmember.children},[Measures].[Sales]),
--Esle
null)
This works fine when the visible properties of ‘Month' level is set to
true.I.e it rolls up the month sales to quarter. But when hide the
Month level( Visible =False) it returns nothing. My question is, How
can access the descendants(e.g Months) of a member( e.g Quarter) when
the visible properties of descendants(e.g Months)level is set to
‘False'.

I want to hide the Month level from users, but I still want to access
the members within the calculation for roll-ups.

Hope my question is clear.

Thanks in advance.

Best regards,
Nik.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.