Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Time Dimension Expand / Collapse
Author
Message
Posted Sunday, September 26, 2010 8:22 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, April 11, 2014 8:56 AM
Points: 70, Visits: 269
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
Post #993417
Posted Monday, September 27, 2010 11:47 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 7:28 AM
Points: 788, Visits: 1,915
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.



Post #993864
Posted Monday, September 27, 2010 3:38 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Friday, April 11, 2014 8:56 AM
Points: 70, Visits: 269
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
Post #994082
Posted Tuesday, September 28, 2010 4:28 AM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 7:28 AM
Points: 788, Visits: 1,915
Check the sort order for that property. It's probably set to Name, which is the default. Change it to Key.


Post #994302
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse