Am facing Memory Pressure issue when I execute the following MDX Query.
WITH MEMBER [Measures].[Entity1] AS [Provider].[Provider Name].CurrentMember.Member_Caption MEMBER [Measures].[Entity2] AS [Dim Date].[Calendar Date].CurrentMember.Member_Caption MEMBER [Measures].[Entity3] AS [Dim Type].[Type Name].CurrentMember.Member_Caption MEMBER [Measures].[Entity4] AS [Dim Device].[Device_Id].CurrentMember.Member_Caption SELECT NON EMPTY { [Measures].[Amount-Exception] ,[Measures].[Exception Count] ,[Measures].[Entity1] ,[Measures].[Entity2] ,[Measures].[Entity3] ,[Measures].[Entity4] } ON COLUMNS ,Filter ( ( { [Provider].[Provider Name].[ALL].Children } ,{ [Dim Date].[Calendar Date].[ALL].Children } ,{ [Dim Type].[Type Name].[ALL].Children } ,{ [Dim Device].[Device_Id].[All].Children } ) , [Measures].[Amount-Exception] <> NULL OR [Measures].[Exception Count] <> NULL ) ON ROWS FROM ( SELECT { {[Provider].[Provider ID].[All]}* {[Fare Type].[Fare Type Id].[All]}* {[Dim Authority].[Authority Id].[All]}* {[Dim Type].[Type Id].[All]}* { { { [Dim Date].[Calendar Date].[2011-08-07] : [Dim Date].[Calendar Date].[2012-08-05] } * {[Dim Time].[Time Key].[ALL]} } + { {[Dim Date].[Calendar Date].[2011-08-06]} * { [Dim Time].[Time Key].[10:40:26.000000] : NULL } } + { {[Dim Date].[Calendar Date].[2012-08-06]} * {NULL : [Dim Time].[Time Key].[10:40:26.000000] } } } } ON 0 FROM [ProviderCube] );
On disabling the Time part of the query, the query works fine i.e. the below query -
WITH MEMBER [Measures].[Entity1] AS [Provider].[Provider Name].CurrentMember.Member_Caption MEMBER [Measures].[Entity2] AS [Dim Date].[Calendar Date].CurrentMember.Member_Caption MEMBER [Measures].[Entity3] AS [Dim Type].[Type Name].CurrentMember.Member_Caption MEMBER [Measures].[Entity4] AS [Dim Device].[Device_Id].CurrentMember.Member_Caption SELECT NON EMPTY { [Measures].[Amount-Exception] ,[Measures].[Exception Count] ,[Measures].[Entity1] ,[Measures].[Entity2] ,[Measures].[Entity3] ,[Measures].[Entity4] } ON COLUMNS ,Filter ( ( { [Provider].[Provider Name].[ALL].Children } ,{ [Dim Date].[Calendar Date].[ALL].Children } ,{ [Dim Type].[Type Name].[ALL].Children } ,{ [Dim Device].[Device_Id].[All].Children } ) , [Measures].[Amount-Exception] <> NULL OR [Measures].[Exception Count] <> NULL ) ON ROWS FROM ( SELECT { {[Provider].[Provider ID].[All]}* {[Fare Type].[Fare Type Id].[All]}* {[Dim Authority].[Authority Id].[All]}* {[Dim Type].[Type Id].[All]}* { { { [Dim Date].[Calendar Date].[2011-08-07] : [Dim Date].[Calendar Date].[2012-08-05] } * {[Dim Time].[Time Key].[ALL]} } } } ON 0 FROM [ProviderCube] );
Putting the Dim Time is causing the memory issue. The facts to which these dimensions are bound are set to Automatic for processing. What could be the problem?