Feb 10, 2009 #1 NotSQL Technical User May 17, 2005 205 GB Hi Guys, Im pretty new to Analysis Service and would like to create a YTD measure with in my cube. How would i go about doing something like this? Regards Dave
Hi Guys, Im pretty new to Analysis Service and would like to create a YTD measure with in my cube. How would i go about doing something like this? Regards Dave
Feb 10, 2009 #2 Alan0568 Technical User May 24, 2006 77 GB The simple answer is Sum(YTD(),[Measures].[YourMeasure]) This assumes you have a correctly defined time dimension/hierarchy with a Year defined as type 'years' A Upvote 0 Downvote
The simple answer is Sum(YTD(),[Measures].[YourMeasure]) This assumes you have a correctly defined time dimension/hierarchy with a Year defined as type 'years' A
Feb 11, 2009 Thread starter #3 NotSQL Technical User May 17, 2005 205 GB And do you do this within the caluclations tab? My Time dimension is fine... Upvote 0 Downvote
Feb 11, 2009 Thread starter #4 NotSQL Technical User May 17, 2005 205 GB How would i do previous YTD? Upvote 0 Downvote
Feb 11, 2009 #5 MDXer Technical User Oct 19, 2002 1,982 US Prior YTD you would implement using the ParallelPeriod() Function. Upvote 0 Downvote
Mar 4, 2009 #6 andrewihardjo Technical User Mar 4, 2009 1 YTD: Sum(PeriodsToDate([Dim Time].[Time Hierarchy].[Year], [Dim Time].[Time Hierarchy].CurrentMember), [Measures].[MeasureName]) Prev YTD: (ParallelPeriod([Dim Time].[Time Hierarchy].[Year], 1), [Measures].[YTD]) Upvote 0 Downvote
YTD: Sum(PeriodsToDate([Dim Time].[Time Hierarchy].[Year], [Dim Time].[Time Hierarchy].CurrentMember), [Measures].[MeasureName]) Prev YTD: (ParallelPeriod([Dim Time].[Time Hierarchy].[Year], 1), [Measures].[YTD])