SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Hierarchies in Tabular SSAS 2012


Hierarchies in Tabular SSAS 2012

Author
Message
lduvall
lduvall
Old Hand
Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)

Group: General Forum Members
Points: 382 Visits: 396
I created a tabular model of Adventure Works DW 2012. I created a Date Hierarchy in dimDate for Calendar Year -- Calendar Qtr -- English Month Name. When I do this in multi-dimensional SSAS, I know how to go in and establish the relationship so that the months are related to the correct quarter and year, etc... How do you do this in Tabular, though? I don't see advanced options for creating attribute relationships, sort order, etc... Once I build this model and explore it with PowerPivot, the month names are ordered alphabetically rather than numerically, etc.. ? Do I have to create a calculated column or something? I know I could use the MonthNumberOfYear instead, but is there a way to sort by that without displaying it in the hierarchy?Can anyone help me out?
lduvall
lduvall
Old Hand
Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)Old Hand (382 reputation)

Group: General Forum Members
Points: 382 Visits: 396
I think I figured it out. In order to make your reports sort by the # of the month rather than alphabetically (so January comes before February), click on the English month name (BEFORE you create your hierarchy). In the properties pane, change “Sort By Column” to MonthNumberofYear.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search