Time Dimension

  • 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

  • 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.

  • 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

  • Check the sort order for that property. It's probably set to Name, which is the default. Change it to Key.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply