Mastering DAX Video Course

This is the video course version of the Mastering DAX workshop.
DAX is the native language of the semantic model in Microsoft Fabric, Power BI, Analysis Services, and Power Pivot for Excel. The training is aimed at users and developers of these products who want to learn and master the DAX language.

The goal of the course is to teach all the features of DAX, providing the knowledge to write formulas for common and advanced business scenarios. The video course consists of 32 hours of lectures, including demo files to reproduce the steps shown in the videos. You can watch the videos at anytime and the system will keep track of your progress. In the course, you can download the materials for all demos and exercises.

Students have access to a private discussion area where they can interact with the instructors and ask questions about the lectures and exercises.

Collapse allCurriculum

  • Presentation of Mastering DAX 3rd Edition

    • Presentation of Mastering DAX 3rd Edition
      FREE
  • Exercises, labs, demos, and companion content
    Added Apr 28, 2026

    • Exercises, labs, slides, and demos
      FREE
    • Download the demo files
    • Download the companion content
  • Introduction to learning DAX

    • Introduction to learning DAX
      FREE
    • Why is DAX even a thing?
      FREE
    • Understanding how the data model affects your DAX code
    • Introducing the demo data model
    • Conclusions
    • Links
  • Introducing DAX

    • Introducing DAX
      FREE
    • Introduction
      FREE
    • Understanding DAX calculations

      • Understanding DAX calculations
        FREE
      • DAX data types
        FREE
      • DAX Operators
        FREE
      • Conditional statements
      • Tables and tuples constructors and the IN operator
    • Understanding calculated columns and measures

      • Introducing calculated columns
        FREE
      • Introducing measures
        FREE
      • Introducing aggregators and iterators
      • Choosing between calculated columns and measures
    • Introducing variables
    • Formatting DAX code
    • Using common DAX functions

      • Aggregation functions
      • Logical functions
      • Table functions
      • Information functions
      • Mathematical and trigonometric functions
      • Statistical and financial functions
      • Text functions
      • Conversion functions
      • Date and time functions
      • Relational functions
      • Window functions
      • Time intelligence functions
    • Introducing visual calculations
      FREE
    • Introducing user-defined functions
      FREE
    • Handling errors in DAX expressions

      • Conversion errors
      • Arithmetic operations errors
      • Empty or missing values
      • Intercepting and generating errors
    • Conclusions
    • Links
    • Exercises
      Added Apr 29, 2026

      • Download exercises
      • 02.01: Margin Calculations
      • 02.02: Product Price Range
      • 02.03: Margin Measure
      • 02.04: Conditional Row Coloring
      • 02.05: Year-over-Year Growth
  • Introducing the filter context and CALCULATE

    • Introducing the filter context and CALCULATE
      FREE
    • Introduction
    • Introducing axis and coordinates
    • Introducing the filter context
    • Introducing CALCULATE
    • Introducing KEEPFILTERS
    • VALUES as an alternative to KEEPFILTERS
    • Introducing REMOVEFILTERS
    • Understanding how totals are computed in Power BI
    • Conclusions
    • Exercises
      Added Apr 28, 2026

      • Download exercises
      • 03.01: Matrix Filter Context
      • 03.02: Contoso Sales Growth
      • 03.03: Year Range Filter
      • 03.04: European Sales
      • 03.05: Sales Color
  • Manipulating the filter context

    • Manipulating the filter context
      FREE
    • Introduction
    • Country as a percentage of the continent
    • Percentage over a selected brand
    • Highlighting the best brands
    • Choosing how to remove filters
    • Computing percentage and visually representing growth compared to the previous year
    • Computing returning customers
    • Conclusions
    • Exercises
      Added Apr 28, 2026

      • Download exercises
      • 04.01: Customer Count 2022–2023
      • 04.02: Top Sellers in Category
      • 04.03: Black OR Computer Sales
      • 04.04: Yearly Percentage
      • 04.05: Sales by Customer Country
  • Introducing the row context and the context transition

    • Introducing the row context and the context transition
      FREE
    • Introduction
    • Introducing the row context

      • Introducing the row context
      • Using the row context with iterators
      • Understanding column values and column references
      • Using aggregators inside the row context
    • Introducing the context transition

      • Introducing the context transition
      • Computing customers who purchased more than two products
      • Understanding automatic CALCULATE around measures
    • Using the row context with relationships

      • Using the row context with relationships
      • Computing sales in the first week
      • Computing the total order out of a denormalized model
    • Understanding nested row contexts

      • Nested row contexts
      • Nested row contexts on different tables
      • Nested row contexts on the same table
      • Nested row contexts using EARLIER
    • Understanding the differences between FILTER and CALCULATE
    • Conclusions
    • Exercises
      Added Apr 28, 2026

      • Download exercises
      • 05.01: Max Discounted Sales
      • 05.02: First Year Sales
      • 05.03: Other Customers Sales
      • 05.04: Product Cluster
      • 05.05: Avg Sales
  • Understanding basic table functions

    • Understanding basic table functions
      FREE
    • Introduction
    • Introducing table functions
    • Introducing the EVALUATE syntax
    • Understanding FILTER
    • Understanding ALL and ALLEXCEPT
    • Computing Top categories and subcategories
    • Understanding VALUES, DISTINCT, and the blank row
    • Understanding SELECTCOLUMNS and ADDCOLUMNS
    • Understanding SUMMARIZE
    • Introducing SUMMARIZECOLUMNS
    • Computing the best store by product
    • Using tables as scalar values
    • Introducing ALLSELECTED
    • Conclusions
    • Links
    • Exercises
      Added Apr 28, 2026

      • Download exercises
      • 06.01: Loyal Customers
      • 06.02: Pct Colors
      • 06.03: Cashback
      • 06.04: Colors Sold
      • 06.05: Sales of Best Products
  • Understanding variables

    • Understanding variables
      FREE
    • Introduction
    • Introducing the VAR syntax
    • The importance of variable names
    • Understanding that variables are constant
    • Understanding the scope of variables
    • Using table variables
    • Understanding when variables are evaluated
    • Common patterns using variables
    • Conclusions
  • Understanding the evaluation context

    • Understanding the evaluation context
      FREE
    • Introduction
    • CALCULATE filters are tables
    • Introducing expanded tables
    • Introducing data lineage and TREATAS
    • Understanding the context transition

      • Understanding the context transition
      • Row context and filter context, a recap
      • Understanding how the context transition works
      • Using the context transition with duplicated rows
      • Using the context transition in calculated columns
      • Understanding active and inactive columns in the row context
      • Summing up the context transition
    • Using the context transition with iterators

      • Using the context transition with iterators
      • Using iterators
      • Understanding iterator cardinality
      • Leveraging context transitions in iterators
    • Introducing CALCULATE modifiers

      • Introducing CALCULATE modifiers
      • Understanding USERELATIONSHIP
      • Understanding CROSSFILTER
      • Understanding KEEPFILTERS
    • Introducing the ALL* family of functions
    • Understanding the evaluation order of CALCULATE
    • Understanding circular dependencies
    • Conclusions
    • Links
  • Working with the evaluation context

    • Working with the evaluation context
      FREE
    • Introduction
    • Using different ways to express a filter
    • Using CALCULATE in different contexts
    • Filtering columns versus filtering tables
    • Understanding the active relationship
    • Understanding KEEPFILTERS with iterators
    • Managing selections using SELECTEDVALUE and VALUES
    • Computing end-of-year gifts for top customers
    • Using many-to-many relationships
    • Conclusions
    • Links
  • Understanding user-defined functions

    • Understanding user-defined functions
      FREE
    • Introduction
    • Introducing functions
    • Understanding parameter-passing modes
    • Understanding dynamic binding of columns
    • Model-dependent and model-independent functions
    • Naming conventions for user-defined functions
    • Examples of using functions

      • Currency conversion
      • Customers in a year
      • Global variables
    • Conclusions
    • Links
  • Working with tables

    • Working with tables
      FREE
    • Introduction
    • Using CALCULATETABLE
    • Using ADDCOLUMNS
    • Using SELECTCOLUMNS
    • Using SUMMARIZE and SUMMARIZECOLUMNS
    • Using GROUPBY
    • Reading Power BI queries
    • Using CROSSJOIN
    • Using UNION
    • Using INTERSECT
    • Using EXCEPT
    • Using TOPN
    • Using GENERATE and GENERATEALL
    • Using NATURALINNERJOIN and NATURALLEFTOUTERJOIN
    • Using tables as filters

      • Implementing OR conditions
      • Narrowing sales computation to customers from the first year
      • Computing the number of new customers
    • Creating calculated tables with ROW, DATATABLE and GENERATESERIES
    • Conclusions
    • Links
  • Understanding window functions

    • Understanding window functions
      FREE
    • Introduction
    • Understanding INDEX

      • Understanding INDEX
      • Handling ties
      • Introducing PARTITIONBY
      • Omitting the source table
    • Introducing OFFSET
    • Introducing apply semantics
    • Understanding OFFSET
    • Understanding WINDOW
    • Understanding WINDOW and apply semantics
    • Understanding apply semantics
    • Understanding MATCHBY
    • Understanding RANK and ROWNUMBER
    • Common window function errors

      • Duplicate rows in the source table
      • Circular dependency in calculated columns
      • Ambiguous row context
    • Conclusions
    • Links
  • Time intelligence calculations

    • Time intelligence calculations
      FREE
    • Introduction
    • Introducing time intelligence

      • Introducing time intelligence
        FREE
      • Introducing the behavior of classic time intelligence functions
      • Understanding the automatic REMOVEFILTERS over Date
      • Understanding filter-keep columns
      • Introducing calendars
      • Time intelligence functions are table functions
    • Building a date table

      • Building a date table
      • Building a Date table for a Gregorian calendar
      • Building a Date table for a monthly calendar
      • Building a Date table for fiscal calendars based on months
      • Building a Date table for weekly calendars
      • Working with multiple date columns
    • Using calendars

      • Using calendars
      • Defining calendars
      • Introducing time-related columns
    • Understanding the behavior of time intelligence functions

      • Understanding the behavior of time intelligence functions
      • Understanding the behavior of classic time intelligence
      • Understanding the behavior of calendar-based time intelligence
      • Understanding filter clearing
      • Understanding lateral shift and hierarchical shift
    • Understanding time intelligence functions

      • Understanding time intelligence functions
      • Understanding DATEADD and SAMEPERIODLASTYEAR
      • Understanding the same-distance-from-parent algorithm
      • Time-related columns with DATEADD and SAMEPERIODLASTYEAR
      • Understanding PARALLELPERIOD and whole period functions
      • Using interval-to-date calculations
      • Mixing time intelligence functions
      • Using semi-additive measures with FIRSTDATE and LASTDATE
      • Working with opening and closing balances
    • Conclusions
    • Links
  • Understanding visual calculations

    • Understanding visual calculations
      FREE
    • Introduction
    • Introducing visual calculations
    • Understanding the visual shape

      • Understanding the visual shape
      • Understanding densification
    • Understanding the visual context

      • Understanding the visual context
      • Understanding EXPAND, COLLAPSE, EXPANDALL, and COLLAPSEALL
      • Navigating the lattice of the virtual table
      • Accessing the virtual table through ROWS, COLUMNS, and ROWPAGES
      • Using ROWS, COLUMNS, and ROWPAGES together
      • Understanding reset and direction
      • Using CALCULATE in visual calculations
    • Understanding PREVIOUS, NEXT, FIRST, LAST
    • Understanding LOOKUP, LOOKUPWITHTOTALS, and auto-expand
    • Understanding RUNNINGSUM
    • Understanding ISATLEVEL
    • Understanding MOVINGAVERAGE
    • Understanding RANGE
    • Computing the moving average over the last six months
    • Computing growth over the same period last year
    • Comparing sales over the average of siblings
    • Conclusions
    • Links
  • Understanding calculation groups

    • Understanding calculation groups
      FREE
    • Introduction
    • Introducing calculation groups
    • Understanding calculation group precedence
    • Using ISSELECTEDMEASURE and SELECTEDMEASURENAME
    • Intercepting multiple selections and no selection
    • Activating calculation items in DAX
    • Using calculation groups to apply global filters
    • Visual calculations and calculation groups
    • Conclusions
    • Links
  • Inspecting the filter context and managing hierarchies

    • Inspecting the filter context and managing hierarchies
      FREE
    • Introduction
    • Using HASONEVALUE and ISINSCOPE
    • Introducing ISFILTERED and ISCROSSFILTERED
    • Understanding the differences between VALUES and FILTERS
    • Using ISEMPTY
    • Understanding arbitrarily shaped filters
    • Computing Percentages over Hierarchies
    • Handling parent/child hierarchies
    • Conclusions
  • Authoring queries

    • Authoring queries
      FREE
    • Introduction
    • Understanding EVALUATE

      • Understanding EVALUATE
      • Introducing the EVALUATE syntax
      • Using DEFINE VAR
      • Using DEFINE MEASURE
      • Using DEFINE TABLE
      • Using DEFINE COLUMN
      • Using DEFINE FUNCTION
      • Using DEFINE VISUAL SHAPE and MPARAMETER
    • Using ROW to test measures
    • Using SUMMARIZECOLUMNS
    • Using ISONORAFTER and ISAFTER
    • Using ADDMISSINGITEMS
    • Using SUBSTITUTEWITHINDEX
    • Using SAMPLE
    • Conclusions
  • Advanced DAX concepts

    • Advanced DAX concepts
      FREE
    • Introduction
    • Understanding expanded tables

      • Understanding RELATED
      • Using RELATED in calculated columns
      • Understanding the difference between table filters and column filters
      • Using table filters in measures
      • Understanding the difference between table expansion and filtering
      • Context transition in expanded tables
    • Understanding ALLSELECTED and shadow filter contexts

      • Understanding ALLSELECTED and shadow filter contexts
      • ALLSELECTED in SUMMARIZECOLUMNS
      • Introducing shadow filter contexts
      • Learning best practices for ALLSELECTED
    • Understanding bidirectional relationships and ambiguity

      • Understanding bidirectional relationships and ambiguity
      • Understanding ambiguity in active relationships
        FREE
      • Solving ambiguity in non-active relationships
    • Understanding auto-exists and non-empty

      • Understanding auto-exists and non-empty
      • Introducing auto-exists
      • Introducing non-empty
      • Introducing value filter behavior
      • SUMMARIZECOLUMNS best practices
    • Conclusions
    • Links
  • Practicing DAX with advanced examples

    • Practicing DAX with advanced examples
      FREE
    • Introduction
    • Working with a budget and different granularities

      • Working with a budget and different granularities
      • Using static allocation
      • Using a newly-created dimension
      • Using a many-to-many cardinality relationship
      • Understanding calculations at different granularities
      • Using dynamic allocation for all the dimensions
      • Showing budget and sales together
    • Working with semi-additive calculations

      • Working with semi-additive calculations
      • Scenario 1: Using LASTDATE
      • Scenario 2: Using the last date of any customer in the current period
      • Scenario 3: Using the last date of any customer, including previous time periods
      • Scenario 4: Using the last date for each customer, including previous time periods
    • Computing same-store sales

      • Filtering stores open on every year selected
      • Filtering stores open in the first or last selected year
      • Using calculation groups to select the filter algorithm
    • Conclusions
    • Links
  • Conclusions

    • Conclusions
Student Rating
4.9
593 ratings
5-star Reviews (274 of 301)
  • Varisha Giridhar, Santosh Kumar (Jun 20, 2024)

    Very Nice Explanation of each and every objective, thank you for such a detail level explanation and making this video helping a lot in my daily work and understanding each topic.

  • Rommel Abrau (Jun 17, 2024)

    Awesome!

  • Tom-Louis Sawicki (Jun 7, 2024)

    Was really great!

  • Annelien van der Heide (Jun 2, 2024)

    Great course learn so much new stuff!

  • Nestor Adrianzen (May 5, 2024)

    Great job, Marco and Alberto. The exercises provided make you put all your DAX knowledge into practice.

  • Nicholas Brus (May 2, 2024)

    Absolutely fantastic course! I have watched all the videos once, to get a feel for the content, and I am now watching them again and doing the exercises. Its amazing that you feel you understand things until it comes to doing the exercises when you realise that you really don't understand things as much as you thought. For me the well chosen exercises and video solutions are a real game changer in getting your knowledge and skills up to speed as otherwise you are dependent on getting real world experience trying to solve real problems and spending years trying to get real knowledge that this course and its exercises and worked solutions help you achieve in a fraction of the time. The help you find and receive in the online discussion sections of this training, from other members and SQLBI staff (Marco, Alberto, Sergio), is also priceless. I hope they adopt this training format with all courses where it can be applied as its a real winner for me. I am now back to continue with the course exercises as I am currently on lesson 7 and there are 15 lessons to complete. Thank you SQLBI !

  • Boris Bastijancic (Mar 6, 2024)

    Challenging but decisive course.

  • Carlos Rodriguez (Feb 28, 2024)

    Very professional and valuable course to understand DAX in a deep level

  • Paulina Faryna (Feb 23, 2024)

    The best and very insightful course for DAX!

  • Collin Tsui (Feb 1, 2024)

    Excellent! The instructors were very thorough, and explained complex concepts well. The exercises ranged from straightforward to difficult, illustrating the concepts taught, while also offering an occasional challenge beyond what was strictly explained in the lectures. My only complaint is that I could not get the discussion forum to work. Well worth the cost.

    • Hi Collin, Please email us at info for assistance with the discussion section! Claire
      Reply by Claire Costa (Feb 2, 2024)
  • Vladimir Pavlovic (Jan 31, 2024)

    Great course with the great examples and challenging excersices which are testing our knowledge from the course videos.

  • Connor T Daly (Jan 10, 2024)

    Great course! This along with your dax patterns book have helped me immensely. I now easily can think in Dax and can calmly solve most business problems I have encountered.

  • Vasilis Zois (Dec 31, 2023)

    really good course that goes from really basic things to really advanced

  • Tomasz Rembiasz (Dec 30, 2023)

    The most comprehensive Power BI and DAX course I have ever done. It's a waste of time and money to buy something else. If you want to learn, learn from the best! Thank you!!!

  • Matteo Lorini (Dec 27, 2023)

    Grazie Mille, ottimo corso.

Would you prefer a classroom course?

This video course is based on a classroom course we teach all around the world. If you prefer a classroom learning experience, take a look at the dates below for a list of our upcoming classroom courses!
 Copenhagen, DK May 5-7, 2026
Copenhagen
 Baltimore, MD, US May 27-29, 2026
Baltimore
 Zürich, CH Jun 10-12, 2026
Zürich
 Berlin, DE Jun 15-17, 2026
Berlin
 Amsterdam, NL Jun 30-Jul 2, 2026
Amsterdam