dbTalk Databases Forums  

Non-additive measures

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


Discuss Non-additive measures in the microsoft.public.sqlserver.olap forum.



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

Default Non-additive measures - 01-09-2006 , 10:17 AM






I have a measure which is "Working Days to Stock-Out". We calculate
this in our source database at each of three levels in the product
hierarch (call them Item, Item Group, and Item Group Parent). We
trend this value over time using the latest data just like an inventory
snapshot.
My problem is that this measure is totally non-additive up the product
dimension. Is there a way I can populate the cube levels above Item
manually so that the cube returns the correct value at each level of
this hierarchy? Failing this, I will have to create a separate cube
for each level, which seems wasteful.


Reply With Quote
  #2  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Non-additive measures - 01-09-2006 , 12:19 PM






Hi,

Are your thought about semi-additive measures of AS2005?
They works with time dimension only.

I your case the measure has non-additive behaviour along of product
dimension.
Generally you can use:
- Custom Rollup
- Cell Caculations
- Calculated measure.

It's heavy to give you exactly advice without details of your caclulations.


Vladimir Chtepa

"Cresset" <mstjohn (AT) cressetconsulting (DOT) com> schrieb im Newsbeitrag
news:1136823428.629988.69390 (AT) g14g2000cwa (DOT) googlegroups.com...
Quote:
I have a measure which is "Working Days to Stock-Out". We calculate
this in our source database at each of three levels in the product
hierarch (call them Item, Item Group, and Item Group Parent). We
trend this value over time using the latest data just like an inventory
snapshot.
My problem is that this measure is totally non-additive up the product
dimension. Is there a way I can populate the cube levels above Item
manually so that the cube returns the correct value at each level of
this hierarchy? Failing this, I will have to create a separate cube
for each level, which seems wasteful.




Reply With Quote
  #3  
Old   
Karthik Rao
 
Posts: n/a

Default Re: Non-additive measures - 01-11-2006 , 05:38 AM



I had a similar problem, and it was solved by using Existing (Sum())
kind of syntax. If you want details, please look for posts by me. And
Deepak's suggestion helped me with this.


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.