dbTalk Databases Forums  

Rollup and Parent Level Data

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


Discuss Rollup and Parent Level Data in the microsoft.public.sqlserver.olap forum.



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

Default Rollup and Parent Level Data - 11-19-2003 , 12:55 AM






My cube contains a dimension (Company) in which I allow
Parent Level Data. Is there a why to prevent values from
sublevels to be aggregated up to Parent level? I have
tried to use Unary Operator '~' for sublevels, but the
only effect I see is that values for sublevels will not
be displayed. Is there a way to display values on
sublevels, but prevent these values to be aggregated?

Thanks,


Reply With Quote
  #2  
Old   
Andrej Hudoklin
 
Posts: n/a

Default Re: Rollup and Parent Level Data - 11-19-2003 , 06:52 AM






Hi Rickard,

on one of cubes I had the same problem.
You have a parent-child dimension and parents have their own data.

The solution/workaround I made is:
to take parent value - sum of all children

example:
[Measures].[SalesVolume] -
sum(
descendants([Products].currentmember, 1), [Measures].[SalesVolume])

And then I do not show the original measure, but this one. It works fine.

Tell me if it work for you.


Peace,
Andrej



"Rickard" <rickard.rygin (AT) frango (DOT) com> wrote

Quote:
My cube contains a dimension (Company) in which I allow
Parent Level Data. Is there a why to prevent values from
sublevels to be aggregated up to Parent level? I have
tried to use Unary Operator '~' for sublevels, but the
only effect I see is that values for sublevels will not
be displayed. Is there a way to display values on
sublevels, but prevent these values to be aggregated?

Thanks,




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.