Building dimension hierarchies
Analysis Services hierarchies specify the navigation path for browsing dimension data. There are two types of hierarchies: attribute and user-defined hierarchies. For example, in the promotion dimension we just created, we immediately have a hierarchy for each attribute: Promotion Name
, Start Date
, End Date
, English Promotion Category
, English Promotion Type
, Discount Percent
, Minimum Quantity
, and Maximum Quantity
. Attribute hierarchies contain two levels.
The top-level is referred to as the All level and includes the aggregated value for all the members included in the attribute. For example, the English Promotion Category attribute hierarchy's All level will show the aggregate value of sales for all the promotion categories: Customer, No Discount, and Reseller. The other level in the same hierarchy will show individual promotion categories, such as Customer.
User hierarchies combine multiple attributes and must be defined explicitly. In this recipe we will...