Need a private training for your team? Request a private training
Not ready to book yet? Request an offer
This chapter provides an introduction to the DAX language. Students will learn the different use cases of the DAX language.
DAX Query View is a feature in Power BI that allows developers to write, run, and analyze DAX queries for deeper insights into their data models. In this module, you will learn how to use DAX Query View in Power BI Desktop and the Power BI Service, along with an introduction to writing DAX statements and exploring key functions.
When writing scalar expressions, a good understanding of DAX data types, operators and functions is needed.
Learn how to define measures in DAX, understand the difference between row and filter context, and work with common aggregations. You will also see how to organize your model with measure tables and distinguish between implicit and explicit measures.
The CALCULATE function is at the heart of advanced DAX. Discover how the CALCULATE function changes filter context to enable advanced calculations. You will also explore key filter functions such as FILTER, ALL, VALUES, and DISTINCT to build more powerful measures.
Nearly all analysis is performed across different time periods, and DAX provides time intelligence functions that allow you to manipulate and compare data over those periods. You can also extend your model with custom calendars, such as 13-month, lunar, or ISO-454 calendars, while addressing common scenarios like year-to-date calculations, growth analysis, and moving averages.
Often measures such as a year-to-date (YTD) calculation have to be repeated for multiple base measures. Calculation groups provide a template with which these repetitive measures can be easily created and maintained.
Visual Calculations let you create calculations directly within visuals, without adding measures to the data model. They simplify common analytical scenarios, can improve performance, and enhance readability by shifting certain logic from the semantic model to the visual layer.
User-Defined Functions (UDFs) allow you to encapsulate reusable DAX logic into named functions. They reduce repetition, improve maintainability, and help centralize complex business logic across your semantic model.
When you need to iterate through data, iterators such as SUMX become useful. This chapter discusses how to work with iterators, how to apply context transitions within iterators and how to use variables to increase readability, performance and expressive power.
Often a measure only makes sense in a certain context (e.g. only relevant at the month level, but not the year level). In this chapter DAX functions are covered which allow you to inspect the current context such that you can protect your measures. A typical use case is calculating percentages of parent totals.
This chapter explores advanced DAX context modifiers that go beyond standard boolean and table filter expressions. You will learn how functions like USERELATIONSHIP, CROSSFILTER and TREATAS influence filter context and evaluation behavior, enabling more flexible and powerful calculations.
This chapter explains how expanded tables work behind the scenes in DAX and how they affect data propagation across relationships. You will learn how expanded tables influence filter context, enable interactions between related tables, and support more advanced calculation patterns in your model.
MCP can help improve and maintain Power BI models using natural language, enabling bulk changes - such as renaming measures, adding descriptions, or adjusting formatting - through simple instructions instead of manual, repetitive work. In this module you will learn how to work with PBI MCP Servers.
Power BI is a suite of business analytics tools used to analyze data and share insights. DAX (Data Analysis Expressions) is the language used to enrich your data models with powerful calculations such as aggregations, ratios, and time-based analysis.
In this course, you will learn how to use DAX to create meaningful and efficient calculations. You will gain a solid understanding of core concepts such as row and filter context, and how to use functions like CALCULATE to control them. You will also explore time intelligence, work with Visual Calculations to simplify analysis in reports and learn how to structure reusable logic using User-Defined Functions (UDFs).
This course is intended for people who have a background in Business Intelligence and have already built data models in Power BI or Analysis Services. U2U also offers a 3-day course Analyzing your data with Power BI for Business Users targeted at people without the skills to build a Semantic Model.