|
This is how I am creating my moving totals as columns in my cube: MATTY (Moving Annual Total This Year)
MATLY (Moving Annual Total Last Year)
How do I do the following? YTDTY (Year To Date This Year) YTDLY (Year To Date Last Year - up to same date as today)
(comments are locked)
|
|
There is a YTD function in MDX, which is very useful. However, it only works on hierarchies in a dimension marked as Time that have an attribute which is marked as the type 'Year'. It doesn't work on Financial Year, etc. So PeriodsToDate is often better. In YTDLT, I'm telling it to take a Year ago in the Calendar hierarchy. In YTDTY, I'm just looking at the periods to date until the CurrentMember (which is default in the PeriodsToDate function). Try:
(comments are locked)
|

