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, slides, and demos

    • Exercises, labs, slides, and demos
    • Download the demo files
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
592 ratings
5-star Reviews (273 of 300)
  • David Williams (May 26, 2020)

    The most valuable training course I have experienced - including my graduate courses in college! The exercises tasked my understanding of the material, not my ability to regurgitate the examples. Highly recommended for any professional who wants to provide value to their clients.

  • Marvin Villareal (May 17, 2020)

    Great course! DAX is so powerful. Marco and Alberto just simply DAX experts! Thanks!

  • Dramane Bio SALIFOU (May 17, 2020)

    Great course ! This course deserves to read more and more as DAX coding reference and to be recommending to all the Power BI learner. Thank you so much for your teaching.

  • Cekou Coulibaly (May 8, 2020)

    An absolutely amazing course. Well designed Well explained Well delivered Well everything. Can't wait to delve into what's coming next.

  • Pedro Junqueira (Apr 13, 2020)

    When it comes to DAX Marco and Alberto are the real maestros. They are the author of the "DAX Bible" (Definitive Guide to Dax) which is the base of this course. There are other good DAX instructors out there but I have not found anyone that know about DAX inside out as them. The Mastering DAX goes really deep in the fundamentals of DAX and both instructors are very clear on the theory and practical examples that you need to know to master the language. I am very satisfied with this course and it really improved my knowledge and power when it comes to solving business problems by creating BI reports. I highly recommend this course.

  • James Gourley (Apr 10, 2020)

    This course is unbelievably good. I'm so impressed with Marco & Alberto's ability to take extremely complex topics and explain them in an understandable way.

  • Koen de Witte (Apr 8, 2020)

    Fantastic. So happy I chose this course, it was well worth it! What I especially liked was the fact that 90% of the lectures was spent hands-on in PowerBI, writing DAX, looking at the result, seeing what works, what not and why not, improving the code, this way giving you the understanding you need... Also, none of the video of the lectures were edited. They're all single takes, which showed how much teaching experience and confidence Marco and Roberto have. it made everything a much more natural and valuable experience than a lot of other paid online material.

  • Cosmin Ioan (Apr 6, 2020)

    the bestest course! :-) seriously, top notch!

  • MARCO BAJAÑA (Mar 31, 2020)

    Excellent course congratulations to everyone keep me informed of new features. Very soon I will continue with other courses with you. Greetings Marco Bajana

  • Floris Lemkes (Mar 20, 2020)

    Very nice and helpful!

  • Santosh Raghunath (Mar 13, 2020)

    Marco and Alberto, I want to thank you both for such a wonderful course. I completed the first one and updating myself with this one also. I could clear the Microsoft certification for Power BI. Thank you so much. You guys are amazing. I truly recommend this course to all Power BI users.

  • andre meyer (Mar 4, 2020)

    Thank you Marco and Alberto, this course is obviously the best around, for the content, of course, but I also very much enjoy the 2-person animation and the large number of exercises (from an instructional design point of view, a very well-built course).

  • Sira Ekabut (Feb 16, 2020)

    i get additional insights every time i watch this course

  • Hypatia Rojas (Feb 12, 2020)

    Excellent work

  • Doru Imbroane (Feb 9, 2020)

    Excellent! Any other adjective would not describe the quality of this course. I would suggest nevertheless that you introduce "exam"-like exercises (that are not joined by solutions) and are graded. This indeed will guarantee an in-depth knowledge of the material covered.

    • Thanks for the suggestion! While we prioritize the production of content and tools for learning, certification is a process that is not currently in our goals. We do have a self-assessment exam to review pre-requisites for Optimizing DAX (did you try it?) and we would like to extend that approach further, rather than provide a certification assessment. We will consider your and others' feedback in our future plans!
      Reply by SQLBI (Feb 10, 2020)

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!
 Houston, TX, US Mar 30-Apr 1, 2026
Houston
 New York City, NY, US Apr 8-10, 2026
New York City
 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