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
      FREE
    • 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
593 ratings
Student Reviews (301)
  • 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)
  • Abhijith DSouza (Feb 4, 2020)

    Fantastic course by Marco and Alberto covering all aspects of DAX and complex Power BI models. The best part of the course is that they not only teach you what is best practice but also tell you what not to do and why you shouldnt it as well. Highly recommend if you want to master DAX.

  • Alexander Feygin (Jan 24, 2020)

    Definetely this's the example of how on-line video course shoud be made. It's up-to-date, includes professianally made support materials (demo files, slides, exercise book), covers deep theoretical nuances of dax logic (which is the foudation of your ability to write and uderstand how code works). At the same time, there's a huge amount of sophisticated exercises (especially advanced section) that helps you to get practical skills. Also, thanks a lot for your blog and tools like dax formatter. Your blog posts should become the next step in learning all the technics and nuances of dax language and proper data modeling.

  • Andy Stepas (Jan 21, 2020)

    I love this video course!. Excellent and simple explanations of the most used DAX functions and are available at any time you need them. Thanks Marco and Alberto, keep going doing with this kind of courses.

  • Ryan Park (Jan 15, 2020)

    This course is the most comprehensive course I could find regarding DAX. Here a couple of opinions. There only needs to be 1 instructor per section and the instructor does not need to be in the video. It would be nice to see the slides and the computer screen without the instructor obstructing the view. You would also benefit from not having to rely on the other instructor to fit the screen or go back to a function, etc. It feels like you are stepping over each other a lot. I feel like you are trying to make the questions seem natural but it doesn't work. Outside of that. Excellent course.

  • Swapnil Sangle (Dec 26, 2019)

    Hi Marco , Alberto. The course is absolutely amazing. After going through this course, I bought your "Data Modelling" course. Great content, excellent delivery. Just one suggestion, Is it possible to provide a data or data source from a different industry may be IT, along with list of exercises to solve. This can act as a project and also help us to test our understanding. Thanks, Swapnil

    • The reason why we use always the same sample data (Contoso) is because this allows the reader to focus on the exercise/module topics rather than the details of the implementation. This is especially true for the DAX course. For Data Modeling we already introduced different data models in order to present and to solve specific modeling problems. However, in those cases the amount of data included is very limited. The reason is that sample data must satisfy a number of requirements and not create any issue related to privacy, NDA, and advertising. The Contoso sample database is a huge investment that Microsoft made 10-15 years ago. In such a database, all the names have been cleared for publishing. Similar investments are certainly not possible for a single video course. Therefore, while we agree that adding specific industry-related models would be very useful, it is unlikely to happen - at least considering a data model populated with reasonable data, like Contoso and Adventure Works.
      Reply by SQLBI (Dec 26, 2019)

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