Fiscal Month and Sorting Issues

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

Viewing 0 posts

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