dbTalk Databases Forums  

Supressing aggregation for inactive members of dimension

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


Discuss Supressing aggregation for inactive members of dimension in the microsoft.public.sqlserver.olap forum.



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

Default Supressing aggregation for inactive members of dimension - 03-22-2005 , 03:57 AM






Hi all,

I'm using AS 2000 with SQL server 2000.

I have 2 shared dimension Hierarchy and ActiveHierarchy that are used
in a multi-partition cube. Each of the dimension have 6 levels. As the
name indicates, 'ActiveHierarchy' will show only active members of all
levels where as 'Hierarchy' will show all members. (I have achcieved
this by creating a new view for 'ActiveHierarchy' that selects blank
values for inactive members and by using "Hide Member If" property of
dimension to hide out blank members.)

My problem is the aggregation of Levels in 'ActiveHierarchy'
dimensions. Say, if in Level05, I have two inactive members that are
hidden to the users, parent member in Level04 aggregates the measures
against the hidden members too. I need to avoid this and I guess I can use
Custom
rollup formula for dimension members in Level04.

1. Can some one help with the formula. I need something like this
Sum (If Member.Children.Name = '', 0, Member.Children)

2. I tried using Unary Operator (~ for unactive hidden members and +
for all other members) but it does not work. Can someone explain why
this does not work if used in tandem with "Hide Member If" property.

Thanks in advance,
Space_AD

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.