Hi all!
I've created a dynamic Query in MDX that allows every user to choose 4 values (for example Year/Month/Region/State....) from a SSAS Cube, which populates a table with 4 columns. Then i've added 18 Parameters to filter the table data. There are no connection
between the parameters.
The problem is that after i select a value from one of the 18 parameters, the Report refresh and it takes 20+ seconds from Report Builder (40+ from Web Portal), then i can select a second parameter . So the Report is unusable!
I've tried few things:
- "Never Refresh" flag but it doesen't work;
- OLEDB connection to my Tabular;
- Delete the LevelMember from the parameters Query: this allow me to select every parameter without any refresh but it takes 30+ second to run the Query, which takes only few seconds from SSMS;
- I've tried to write "manually" the parameters Query with the Chris Webb "method":
so for example Year Parameter:
Query Designer Query
WITH
MEMBER [Measures].[ParameterCaption] AS [Date].[Year].CURRENTMEMBER.MEMBER_CAPTION
MEMBER [Measures].[ParameterValue] AS [Date].[Year].CURRENTMEMBER.UNIQUENAME
MEMBER [Measures].[ParameterLevel] AS [Date].[Year].CURRENTMEMBER.LEVEL.ORDINAL
SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,[Date].[Year].ALLMEMBERS ON ROWS
FROM [My_Cube]
OLEDB Query with DUMMY Measure
WITH
MEMBER MEASURES.DUMMY AS NULL
SELECT
{MEASURES.DUMMY}
ON COLUMNS
, [Date].[Year].ALLMEMBERS
DIMENSION PROPERTIES UNIQUE_NAME, MEMBER_CAPTION
ON ROWS
FROM [My_Cube]
CELL PROPERTIES VALUE
Then i've created two calculated fields that show the ALL Value and Caption. From the Profiler this second Query runs much much faster than the original one, but after i've changed all the other Queries the Report runs much slower!
Any suggestion?
Sorry for my bad english and thanks in advance!