Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

MDX rolling measure

$
0
0
hi,I am trying to achieve a rolling measure in my cube which is populating a measure based upon the below datastatus_id event_date type_id 17 2011-01-10 2 33 2011-01-12 2 14 2011-01-13 2 12 2011-01-15 2 6 2011-01-22 2Currently I am using a calculated memberSum(NULL:[Event Date].[Date].Currentmember * [status].[Status ID] * [type].[Type ID],[Measures].[status id cnt])Which brings data like this 10/01/2012 11/01/2012 12/01/2012 13/01/2012 14/01/2012 15/01/201217 1 1 1 1 1 133 1 1 1 114 1 1 112 1My desired result is 10/01/2012 11/01/2012 12/01/2012 13/01/2012 14/01/2012 15/01/201217 1 1 33 1 14 1 1 12 1I feel I am pretty closeCan you please help me achieve my desired result?

Viewing all articles
Browse latest Browse all 1341

Trending Articles