dbTalk Databases Forums  

Change aggregation using custom rollups

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


Discuss Change aggregation using custom rollups in the microsoft.public.sqlserver.olap forum.



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

Default Change aggregation using custom rollups - 08-05-2005 , 12:48 AM






Hi

I am trying to change the aggregation on a dimension structured as
below.

All
-> Group 1
-> Item 1
-> Item 2
-> Group 2
-> Item 2
-> Item 3

I need the All level to calculate the distinct sum of items so that
Item 2 is only included once.

I have tried the following MDX in the All Member Formula field but have
not been able to get the correct result.

sum(distinct({[Dimension].[Item Level].Members}))

Any help would be appreciated

Thanks
Gavin.


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.