Date dimension Sort order

Hi-

I have a date dimension with year (number), month(Month name), and day(number) as part of a cube which I'm generating an offline cube from.

While browsing the cube in either VS or in the offline cube, through Excel, the months end up sorted alphabetically (April, August...) and the days of the month are sorted in the fashion of 1,10,11...2,20,21...

Anyone have any suggestions or ideas of what I'm doing wrong

Thanks,

Tristan



Answer this question

Date dimension Sort order

  • Benjamin Coats

    You should mark your days as 01, 02, 3... to avoid the order issue you are seeing.

    For the month, you should create a Month of year attribute (Jan - 01, Feb - 02, etc...) and then use the sort property ont he month attribute to sort it by the Month of Year attribute....



  • alb52

    That worked perfect! Thanks much!
  • Date dimension Sort order