dbTalk Databases Forums  

ParallerPeriod looking ahead in time

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


Discuss ParallerPeriod looking ahead in time in the microsoft.public.sqlserver.olap forum.



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

Default ParallerPeriod looking ahead in time - 11-18-2004 , 06:50 PM






I'm trying to create a calculated member that looks ahead a year,
rather than the default behavoir of looking back a year.

WIth a time dimension of
Time
Year
Season
Month

and a meaure of [Measures].[Net Dollars], what could be used as an MDX
expression to provide a year look ahead at all Time dimension levels?

I've tried some variants as:
- (ParallelPeriod(Year,1,Time.CurrentMember.Lead(12) ),[Measures].[Net
Dollars]) where I change the lead number. This does not of course work
across all dimension levels.

- Time.CurrentMember.Lead(X)), [Measures].[Net Dollars] where X is a
number from 1 to 12. Again, this doesn't work across all time dimension
levels.

Thanks,
b.

Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: ParallerPeriod looking ahead in time - 11-18-2004 , 08:41 PM






(ParallelPeriod(Year,-1), [Measures].[Net Dollars])


- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

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.