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

Fiscal Month and Sorting Issues Expand / Collapse
Author
Message
Posted Monday, July 01, 2013 7:25 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, January 28, 2014 3:35 PM
Points: 3, Visits: 20
I have a DIM_Date table in my data warehouse which (simplified) looks something like this;

Month_Name   Cal_Year_Num   Fiscal_Year_Num
January 1 7
February 2 8
March 3 9
April 4 10
May 5 11
June 6 12
July 7 1
August 8 2
September 9 3
October 10 4
November 11 5
December 12 6

In SSAS (2008 R2), I've created two Month dimensions;

* Calendar Month - where the KeyColumn is specified as [Cal_Year_Num] and the NameColumn is specified as [Month_Name]. The dimension type is MonthOfYear.
* Fiscal Month - where the KeyColumn is specified as [Fiscal_Year_Num] and the NameColumn is specified as [Month_Name]. The dimension type is FiscalMonthOfYear

In other words, the two different dimensions use the same Name but different key (which should result in different). Unfortunately, sorting the Fiscal Month dimension doesn't really work. Excel seems to completely ignore the KeyColumn, very "helpfully" recognises that the labels are months and sorts them by calendar order.

Am I doing something wrong with my dimension design? Or is this a client-level flaw?
Post #1469270
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse