Book Image

Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide

By : Abolfazl Radgoudarzi, Reza Rad
Book Image

Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide

By: Abolfazl Radgoudarzi, Reza Rad

Overview of this book

Table of Contents (19 chapters)
Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – creating a hierarchy


In this example, we will see how a user can create hierarchies in the browser and how a developer can create a predefined hierarchy for business requirements by performing the following steps:

  1. Go to the cube Browser, drag-and-drop Calendar Year, Month, and Date, one after another. Then, drag-and-drop Sales Amount and Order Quantity. You will see a hierarchy created dynamically from the browser.

  2. Now, go to the product's Dimension Designer, drag-and-drop the EnglishProductCategory name into the Attributes pane, and rename it Product Category. Do the same for EnglishProductSubcategoryName and rename it Product Subcategory. Rename the Product Key attribute Product and change its name column to EnglishProductName.

  3. Drag-and-drop Product Category from the Attributes pane into the Hierarchies pane.

  4. A new hierarchy will be created; rename it Product Category Hierarchy.

  5. Drag-and-drop the product Subcategory under the Product Category option (in the <new level&gt...