WISE OWL EXERCISES
SSAS EXERCISES
SSAS - TABULAR EXERCISES
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.
The answer to the exercise will be included and explained if you attend the course listed below!
Software ==> | SSAS - tabular (29 exercises) |
Version ==> | SSAS 2012 and later |
Topic ==> | Calculated columns (4 exercises) |
Level ==> | Harder than average |
Course ==> | SSAS - Tabular Model |
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:

The data model should record sightings of different animals.
Create calculated columns allowing you to show the following pivot table:

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!