WISE OWL EXERCISES
SSAS - TABULAR EXERCISES
SSAS - tabular | The EARLIER Function exercise | Group shopping centres into bands, by size
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!
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.
This exercise assumes that you have a base model set up (see one of the many other SSAS tabular exercises on loading tables from the MAM database and creating a model).
Open the Word document in the above folder, and paste it into your model to create a new table:
The new table, which is here called Categories.
Create a calculated column in the Centre table to give the value of the category by using this logic:
If you succeed (and there are many things which can go wrong!) you should be able to create this pivot table:
Just to ice the cake, the sizes have been sorted correctly.
If you want to keep a copy of what you've done, use DAX Editor to create a copy of your measures with extension .dax called Mind-expanding DAX, and save your workbook with the same file name.
I got the same solution as above, but with using Switch. How can I use EARLIER here ?