I have a report that runs just fine in the Query Designer, but for some reason does not run when I run the actual report. Here is the query in question:
SELECT {[Measures].[Employee Hours]} ON COLUMNS ,NON EMPTY { [Employee].[Employee Full Name].[Employee Full Name].ALLMEMBERS* [Employee].[Employee Discipline].[Employee Discipline].ALLMEMBERS* [Employee].[Employee Department].[Employee Department].ALLMEMBERS* [Employee Hours Time Category].[Utilization Category].[Utilization Category].ALLMEMBERS* [Employee Hours Time Category].[Time Category].[Time Category].ALLMEMBERS* [Project].[Client].[Client].ALLMEMBERS* [Time].[Year].[Year].ALLMEMBERS* [Time].[Month].[Month].ALLMEMBERS* [Time].[Formatted Week].[Formatted Week].ALLMEMBERS } DIMENSION PROPERTIES MEMBER_CAPTION ,MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT LastPeriods (7, StrToMember (@SelectedWeek ,CONSTRAINED )) ON COLUMNS FROM ( SELECT StrToSet (@Department ,CONSTRAINED ) ON COLUMNS FROM ( SELECT StrToSet (@Disciplines ,CONSTRAINED ) ON COLUMNS FROM [OLSON BI] ) ) ) CELL PROPERTIES VALUE ,BACK_COLOR ,FORE_COLOR ,FORMATTED_VALUE ,FORMAT_STRING ,FONT_NAME ,FONT_SIZE ,FONT_FLAGS;
The result set is below:
When I try to run the actual report, I get an error on the parameter being passed in. I'm passing in a date that is formatted as a varchar as you can see from the screen shot below:
Not sure what's going on here, but any insight would be appreciated!
Thank you!
A. M. Robinson