dbTalk Databases Forums  

Period to Date assistance.

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


Discuss Period to Date assistance. in the microsoft.public.sqlserver.olap forum.



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

Default Period to Date assistance. - 01-18-2006 , 05:52 PM






Hello,


I seem to be having some problems with a Period to Date measure. What I want is a running total from the beginning of time to the time period the end user selects. Thus it is a running value that doesn't reset for years/quarters or any other level.


My calculation in Analysis Services 2000 worked perfectly and is:


Sum(Periodstodate([Period].[(All)]),[Measures].[Sales])


In AS2005 my heirarchy has changed and is reflected below in the mdx:


Sum(PeriodsToDate([Period].[Period].[(All)]), [Measures].[Wipdisb])


What am I doing wrong? Why in AS2005 does it not keep cumulating?


Thanks in advance


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.