dbTalk Databases Forums  

Parent Child Rollup

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


Discuss Parent Child Rollup in the microsoft.public.sqlserver.olap forum.



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

Default Parent Child Rollup - 11-10-2005 , 01:42 PM






Sorry, I still haven't figured this one out...?

Hello,

I am using SSAS 2005, June CTP.

I have a question concerning a parent-child dimension I created. My roll-up
totals are messed up. When a expand the hierarchy to display the children I
noticed that the parent is displayed again and it's values are included in
the total. How do I make it stop doing this?

Thanks for any help you can provide.

-Scott


Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Parent Child Rollup - 11-10-2005 , 09:05 PM






Sounds like your fact table has data that is directly associated with
non-leaf (parent) members of the dimension. In that case, this parent
data will be rolled up in AS 2005 (unless excluded by a custom rollup);
but you can control whether it is visible as a child Data Member or not:

http://msdn2.microsoft.com/en-us/library/ms174581.aspx
Quote:
Data Members (SSAS)
...
Setting the MembersWithData property to NonLeafDataHidden hides data
members contained by the parent attribute, while setting the property to
NonLeafDataVisible exposes data members. This setting does not override
the normal aggregation behavior for nonleaf members; the data member is
always included as a child member for the purposes of aggregation,
although a custom rollup formula can be used to override this behavior.
...
Quote:

- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***



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.