SSAS MDX Previous Year - Ignore Filter
问题 i try to get actual turnover and the turnover of the previous year in the same period. I write this query: with member [Measures].[Turnover PrevYear] as IIF( IsEmpty([Measures].[Turnover Actual] ), NULL, SUM( (ParallelPeriod( [Date].[Year - Quarter - Month - Date].[Year],1,[Date].[Year - Quarter - Month - Date].CurrentMember)) , [Measures].[Turnover Actual] ) ) Select non empty{[Measures].[Turnover Actual],[Measures].[Turnover PrevYear]} on Columns, non empty{[Store].[Store].[Store].members}