I am trying to work out why an SSRS 2008 R2 report keeps timing out.
Unfortunately I am not familiar with MDX (although I did read up little about it).
So basically I would like to know whether the MDX is not good (because it might have been generated by the designer etc) or because there could be an issue with the cube design. I would lean towards cube design because I am told that at one point this query ran fine, but then it may be because there's more data now - i dunno.
SELECT NON EMPTY { [Measures].[Unpaid Sick Hours], [Measures].[Paid Sick Hours],
[Measures].[All Timecard Hours]
, [Measures].[Paid Sick Incidents], [Measures].[% Sick Time] }
ON COLUMNS, NON EMPTY { ([Position].[Position Number].[Position Number].ALLMEMBERS
* [Position].[Position Title].[Position Title].ALLMEMBERS
* [Union].[Union].[Union].ALLMEMBERS
* [Time].[Day Of Week].[Day Of Week].ALLMEMBERS
* [Employee].[Employee Type].[Employee Type].ALLMEMBERS
* [Employee].[Employee Number].[Employee Number].ALLMEMBERS
* [Employee].[Employee First Name].[Employee First Name].ALLMEMBERS
* [Employee].[Employee Last Name].[Employee Last Name].ALLMEMBERS ) }
DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME
ON ROWS FROM ( SELECT ( STRTOSET("[Time].[Fiscal Year-Quarter-Month].[F Quarter].&[20124]", CONSTRAINED) )
ON COLUMNS FROM ( SELECT ( STRTOSET("[Cost Centre].[Cost Centre Hierarchy].&[1002]", CONSTRAINED) )
ON COLUMNS FROM [Contoso HR]))
Appreciate the help.
thanks, KS