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.

Software ==> SSAS - multidimensional  (21 exercises)
Version ==> SSAS 2008 R2 and later
Topic ==> Dimensions  (3 exercises)
Level ==> Harder than average
Subject ==> SSAS training
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.

Make sure that you have a data source view which includes the tblQuadrantTarget table:

SSAS Analysis Services exercise - Dimensions (image 1)

We've also added a calculated column to this table, as below

Add the named calculation LowerBucket shown above to this table:

SSAS Analysis Services exercise - Dimensions (image 2)

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:

SSAS Analysis Services exercise - Dimensions (image 3)

The automatically set up hierarchy looks surprisingly sensible

Save and close all of your windows.

This page has 0 threads Add post