Course description
Welcome to Introduction to DAX for Power BI. This two-day instructor-led course is intended for business users who have been using Power BI and want to use DAX to create custom calculations in their data models. In this class, you will be introduced to using Data Analysis Expressions (DAX), which is the expression language that is used to create custom calculations in the Power BI Data model. The course covers some of the theoretical underpinnings of the data model and the DAX language, but the emphasis is on using DAX to solve common business problems. You will learn how to write your own calculated columns, measures, and tables, how to visualize the way Power BI computes DAX calculations, and how to troubleshoot custom code.
Outcome / Qualification etc.
At course completion, you should be able to:
- Describe DAX syntax, data types, and errors
- Use DAX to create calculated columns, measures, and tables
- Explain how DAX calculations are evaluated, along with the differences between row context and filter context
- Configure and use Time Intelligence to perform common time-based calculations, for example to-date calculations, year-over-year analysis, moving averages, etc.
- Create calculated columns and measures that use data from multiple tables in the data model
- Write measures that handle error conditions gracefully
- Use DAX to enhance the Power BI user experience
- Use DAX Studio to connect to a Power BI data model and execute simple queries
Training Course Content
Module 1: Getting started with DAX
- Introduction to DAX
- Creating objects with DAX
- Context and rules of evaluation
- Variables, comments, and testing
Module 2: Performing basic calculations
- Getting started
- Implicit measures
- Adding quick measures
- Working with DAX data types .
- Doing basic math
- Using logic in your calculations
- Using the if() function
- Nested if()
- Using the switch() function
- Advanced switch()
- Logical operators & functions: ||, OR(), &&, AND(), NOT()
- Aggregating and summarizing data
- The sum() function
Module 3: Working with context in the data model
- Context defined
- Data modeling basics
- Introduction to dimensional modeling
- Relationships and their effect on the evaluation context
- Getting data from other tables using related() and related table
- Looking up data without using relationships
- Modifying the context using calculate()
Module 4: Performing more advanced calculations
- The DAX iterator functions
- Using table manipulation functions
Module 5: Working with time
- Performing date calculations
- Working with date tables
- Generating a date table with the calendar() function
- Defining custom operating periods
- YTD, QTD, and MTD calculations
- Custom to-date calculations
- Finding year-over-year change
- Finding moving averages
Module 6: Enhancing the user experience
- Controlling visibility of your measures
- Using what-if parameters
- Adding banding
- Using DAX to provide row-level security
Request info
Nexus Human
For over 20 years Nexus Human has specialised in IT and Business Skills Training and Certification in the UK and Ireland. What makes Nexus Human different is putting people at the core of what we do. We deliver both private...