dbTalk Databases Forums  

50+ mesures incrementing along time dim

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


Discuss 50+ mesures incrementing along time dim in the microsoft.public.sqlserver.olap forum.



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

Default 50+ mesures incrementing along time dim - 02-03-2004 , 09:15 PM






Hello, everybody.
We have a cube with lot's of measures that need to be aggregated normally
along all dimensions except time. Along the time dimension every new member
is displaying a new state of the measure at that moment so we'd like to
calculate the difference between every current member and the previous
member. This can be done quite easily by creating a calculated member for
every measure as in:

c1: ([measures].m1 - [measures].m1,[time].currentmember.prevmember)

c2: ([measures].m2 - [measures].m2,[time].currentmember.prevmember)

....

Can this be done some other way or do we really have to create 50+ calculate
members?

Thanks in advance,
Koni.



Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: 50+ mesures incrementing along time dim - 02-04-2004 , 12:28 AM






You might want to consider a separate dimension to hold calculations.

public @ the domain below
www.tomchester.net

"Koni Kogan" <k_kogan (AT) hotmail (DOT) com> wrote

Quote:
Hello, everybody.
We have a cube with lot's of measures that need to be aggregated normally
along all dimensions except time. Along the time dimension every new
member
is displaying a new state of the measure at that moment so we'd like to
calculate the difference between every current member and the previous
member. This can be done quite easily by creating a calculated member for
every measure as in:

c1: ([measures].m1 - [measures].m1,[time].currentmember.prevmember)

c2: ([measures].m2 - [measures].m2,[time].currentmember.prevmember)

...

Can this be done some other way or do we really have to create 50+
calculate
members?

Thanks in advance,
Koni.





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.