SSAS - TABULAR EXERCISES▼
- Creating a data model (2)
- Excel pivot tables (1)
- PowerView (2)
- Power BI Desktop overview (1)
- Other data sources (1)
- Calculated columns (4)
- Measures (3)
- Changing query context (2)
- The EARLIER Function (1)
- DAX queries (3)
- Date calculations (3)
- Hierarchies (1)
- KPIs (2)
- Perspectives (1)
- Prototyping using PowerPivot (1)
- Security (2)
SSAS - tabular | DAX queries 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.
You can learn how to do this exercise on the relevant Wise Owl classroom training course (sadly for the moment only in the UK).
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:
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:
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.