dbTalk Databases Forums  

Financial YTD and MTD

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


Discuss Financial YTD and MTD in the microsoft.public.sqlserver.olap forum.



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

Default Financial YTD and MTD - 07-08-2003 , 08:51 PM







I have successfully set up a YTD and MTD measure for a Calendar Year
time dimension. Using the following code to set up calculated measures:

Sum({Ytd()},([Measures].[Volume])) and

Sum({Mtd()},([Measures].[Volume]))

However these do not display when I change from the Calendar Year
dimension to a Financial Year dimension (both set up using the
predefined time dimensions).

Can anyone help?

Thanks in advance
Emily

--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
Thomas Ivarsson
 
Posts: n/a

Default Re: Financial YTD and MTD - 07-09-2003 , 01:03 AM






You might have to make two additional versions for the financial year
dimension. YTD()-function use Time.CurrentMember as default. So if you make
a new calculated measure with YTD([FinancialTime].CurrentMember) that can
help you.

There are even better solutions if you have a look at www.tomchester.net and
look for a sample called called a calculation dimension.

HTH
Thomas Ivarsson

"Emily" <member32827 (AT) dbforums (DOT) com> wrote

Quote:
I have successfully set up a YTD and MTD measure for a Calendar Year
time dimension. Using the following code to set up calculated measures:

Sum({Ytd()},([Measures].[Volume])) and

Sum({Mtd()},([Measures].[Volume]))

However these do not display when I change from the Calendar Year
dimension to a Financial Year dimension (both set up using the
predefined time dimensions).

Can anyone help?

Thanks in advance
Emily

--
Posted via http://dbforums.com



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.