Learn the Data Analysis Expressions language that powers every meaningful Power BI report — through guided lessons, live examples, and real formula patterns.
Curriculum
A structured journey from fundamentals to advanced time intelligence — built the way data analysts actually learn DAX.
Core Concepts
Understanding these foundations unlocks everything else in DAX.
Filter context is the set of filters applied to a calculation. In Power BI, every visual — slicers, charts, row/column headers — applies filters to the data model before DAX evaluates any measure.
When you place a measure in a table, each row has a different filter context: the combination of column values in that row. Your measure is re-evaluated for each row's unique context.
Row context exists when DAX iterates through a table row by row — in calculated columns, and in X-iterator functions like SUMX, AVERAGEX, MAXX.
In row context, you can reference column values for the "current row" directly. Understanding the difference between row and filter context prevents most common DAX bugs.
CALCULATE is the most important function in all of DAX. It evaluates an expression in a modified filter context. You add, remove, or replace filters to change what data is included.
Every DAX measure implicitly wraps in a CALCULATE context. Understanding how it transforms filters is the key to unlocking advanced patterns.
Variables are one of the best practices in modern DAX. They let you store intermediate results, making formulas easier to read, debug, and often faster to execute since each variable is computed once.
Variables capture the current filter context at the point where they're defined — this is crucial to understand for complex calculations.
DAX has a rich set of time intelligence functions that make period-over-period analysis simple. The requirement: a proper Date table with continuous dates and a marked "date table" status in Power BI.
Once you have your date table set up, functions like TOTALYTD, SAMEPERIODLASTYEAR, and DATEADD write complex date math for you.
Formula Patterns
Copy-paste ready DAX patterns for the most common analytical problems.
Knowledge Check
12 questions to validate your DAX understanding across all modules.
Quick Reference
The most-used functions, organized by category. Bookmark this page.
Go Deeper
The best places to continue your DAX journey beyond this guide.