|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 8:05 AM
Points: 57,
Visits: 224
|
|
I am using a SSAS Cube as my data source for a SSRS report. In the cube I have created a Time dimension which has the following attributes, Date, Year, Quarter, Month, weekofyear, weekofmonth....
When I browse the cube in SSAS the weekofYear field seems to sort correctly. However, in the reporting services when I browse the report it appears to be treating the weeknum field as a string. I know their's a solution for this but I can remember how to correct this.
Your help will be appreciated.
Thanks
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Yesterday @ 6:43 AM
Points: 671,
Visits: 1,503
|
|
SSAS should know it's an integer as long as the source field is an integer. What exactly is the issue? The order of the weeks?
Also, recommend you change the name of your dimension to Date. You may one day add a Time dimension consisting of minutes and hours.
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 8:05 AM
Points: 57,
Visits: 224
|
|
| Thanks for your reply..SSAS does recognize that it's an integer. Its when I try to sort on dimension attribute in SSRS that it's looks at the data as a string
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Yesterday @ 6:43 AM
Points: 671,
Visits: 1,503
|
|
Check the sort order for that property. It's probably set to Name, which is the default. Change it to Key.
|
|
|
|