Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Date dimension Day Of Week

$
0
0
I have a date dimension I'm struggling with. I have a hierarchy with Year, Quarter, Month, Date. The KeyColumns are Year(int), Month(int) for the month attribute and the Name column is MonthShortName(WChar). The type is set to "Months". When I use my hierarchy in Excel I see each month fall under each year. If i use ONLY the month attribute (not the hierarchy) I see 12 rows (not 12 rows per year), with all of the data across the years in 1 month row. This functions exactly as I would expect. With out the Year being used, it should roll up all the data into the respective month. I have basically the exact same setup for week of year. KeyColums are Year(int), WeekofYear(int) and the NameColumn is WeekofYear(int). The type is set to "WeekOfYear". I have a hierarchy Year, Week of Year, Day of Week, Date. When I use the hierarchy it performs as expected, each year has 52 rows under it. However when I use just WeekOfYear attribute (not the hierarchy) I would expect to see only 52 rows... instead I see 52 rows times the number of years. Even though no Year attribute was used.My attribute relationships are defined basically the way my hierarchies are setup and they are defined as Rigid. I feel like these two should function basically the same way. Any thoughts here would be greatly appreciated. I've included some screenshots as well. Thanks for the help in advanceSSAS 2012Enterprise EditionMultidimensional Model

Viewing all articles
Browse latest Browse all 1341

Trending Articles