Exercise: Parent-child hiearchy to show Amy Winehouse sales

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

The answer to the exercise will be included and explained if you attend the Wise Owl course listed below!

Category ==> SSAS - multidimensional  (21 exercises)
Topic ==> Parent-child Hierarchies  (1 exercise)
Level ==> Harder than average
Course ==> SSAS - Multidimensional
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

The aim of this exercise is to be able to filter a cube to show total sales for all of the store managers reporting to Amy Winehouse, the manager for the London region:

SSAS Analysis Services exercise - Parent-child Hierarchies (image 1)

The filter you should see for your cube

The start of your cube should look like this:

SSAS Analysis Services exercise - Parent-child Hierarchies (image 2)

The store managers should appear in alphabetical order

If yoiu're using Analysis Services 2012 or later, you'll need to analyse your cube in Excel to see a pivot-table-style view of it similar to the one shown above.

To achieve this:

  • Include the dimStaff, dimStore and msrTransaction views in a data source view
  • Create the relationships you need (including a self-join for the dimStaff table)
  • Create and customise dimensions for stores and staff
  • Create the cube as shown above, using the Quantity column as the measure

When you've finished (!), save and close all open windows.

This page has 0 threads Add post