SSAS - tabular | Calculated columns exercise | Show a substitute message if no parent record found

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 - tabular  (30 exercises)
Version ==> SSAS 2012 and later
Topic ==> Calculated columns  (4 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.

Open the Word document called Sightings in the above folder, and copy the two tables it contains into a new project/model in SSAS Tabular.  Create a relationship to get the following data model:

Sightings by animal

The data model should record sightings of different animals.


Create calculated columns allowing you to show the following pivot table:

Not known for not found parents

The pivot table should show 1 sighting of Not known animals, since unicorns don't exist in the parent Animals table.


You should be able to combine the ISBLANK and ISRELATED functions to achieve this.

That's it!

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only.
This page has 0 threads Add post