MDX - Running Sum over months limited to an interval
问题 I have a query that after some sweating and some swearing works WITH MEMBER [Measures].[m_active] AS ([Measures].[CardCount], [Operation].[Code].[ACTIVATION]) MEMBER [Measures].[m_inactive] AS ([Measures].[CardCount], [Operation].[Code].[DEACTIVATION]) MEMBER [Measures].[p_active] AS SUM( [Calendar.YMD].[2016].[January]:[Calendar.YMD].CurrentMember, [Measures].[m_active] ) MEMBER [Measures].[p_inactive] AS SUM( [Calendar.YMD].[2016].[January]:[Calendar.YMD].CurrentMember, [Measures].[m