Exercise: Create basic queries in DAX using the EVALUATE statement

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 Wise Owl course listed below!

Category ==> SSAS - tabular  (29 exercises)
Topic ==> DAX queries  (3 exercises)
Level ==> Relatively easy
Course ==> SSAS - Tabular Model
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.

If you haven't already done so, run the SQL script in the above folder in SQL Server Management Studio to generate a database (not for commercial use or copying) called MAM

Within SSMS (or within DAX Studio, if you're lucky enough to have it working on your computer) create a query to list out all of the towns in the database, in alphabetical order by name:

List of towns

The first few towns that your query should list out.


Too easy?  Write another query using the TOPN function which lists out the first 5 shopping centres in square metre area order:

Five biggest shopping centres

The 5 largest shopping centres, in descending size order.

Optionally, combine your queries into a single file called Evaluation copy.txt, then close it down.

This page has 0 threads Add post