Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
v_kash
Starting Member
45 Posts |
Posted - 2012-11-16 : 11:28:03
|
Hello: Am somewhat new to SSAS. My issue is the sort order when I process the cube and bring in the 'calendar month'. It sorts the months alphabetically, not numerically. In my Time Dimension table, the two 'month' columns I have are Calendar Month Number and Calendar Month Name. The other issue is when i bring in the Calendar Month Number, it sorts it by 1, 10, 11, 12,2,3,4,5,6,7,8,9. It should be 1,2,3,4,5,6,7,8,9,10,11,12. What is the BEST way to get the month columns sorted correctly? I've searched a few forums, and there are different 'ways' to address this. Just looking for a detailed explanation on what to do as I am new to this!!Thanks!! |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-11-16 : 23:11:12
|
you need to set Key field as CalendarMonthNumber for dimension and Name as Calendar Month Name. Then set OrderByAttribute property as Key------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|
|
|