Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

45 Posts

Posted - 11/16/2012 :  11:28:03  Show Profile  Send v_kash a Yahoo! Message  Reply with Quote
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!!


Very Important crosS Applying yaK Herder

52326 Posts

Posted - 11/16/2012 :  23:11:12  Show Profile  Reply with Quote
you need to set Key field as CalendarMonthNumber for dimension and Name as Calendar Month Name. Then set OrderByAttribute property as Key

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000