EXERCISE TOPIC▼
SSAS EXERCISES▼
SSAS - MULTIDIMENSIONAL EXERCISES▼
SSAS - multidimensional | Dimensions exercise | Create a discretised dimension by quadrant target
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.
You can learn how to do this exercise on the relevant Wise Owl classroom training course (sadly for the moment only in the UK).
Software ==> | SSAS - multidimensional (21 exercises) |
Version ==> | SSAS 2008 R2 and later |
Topic ==> | Dimensions (3 exercises) |
Level ==> | Harder than average |
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.
Make sure that you have a data source view which includes the tblQuadrantTarget table:

We've also added a calculated column to this table, as below
Add the named calculation LowerBucket shown above to this table:

A formula like this should divide the target into two bands
Create a dimension based on this table, and set it up so that you can browse either by:
- the LowerBucket hierarchy you've just created; or
- a hierarchy one set up by SSAS automatically on the LowerTarget column, using a DiscretizationBucketCount of 2
The two hierarchies should compare as follows:

The automatically set up hierarchy looks surprisingly sensible
Save and close all of your windows.