Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
The DAX CALCULATE Function
Rating: 4.6 out of 5(173 ratings)
770 students

The DAX CALCULATE Function

CALCULATE is the most important function in the DAX language. This course covers the function in depth.
Created byRandy Minder
Last updated 6/2020
English

What you'll learn

  • The evaluation context - Filter context and row context
  • Context transitioning - How it can cause havoc with your CALCULATE function
  • The many roles filtering plays in the CALCULATE function
  • CALCULATE modifiers
  • The amazing ALLSELECTED function and the mysterious shadow filter context
  • How to simulate outer (external) filter contexts when developing DAX expressions using CALCULATE

Course content

4 sections29 lectures3h 37m total length
  • Introduction1:24

    An introduction to this course

  • The main data model6:10

    In this lecture we discuss the main data model used for this course

  • Additional data models3:30

    Some additional data models used in this course

Requirements

  • Some basic DAX experience would be helpful

Description

The DAX CALCULATE function is THE core DAX function that every DAX developer uses but probably has little understanding of what's going on 'under the hood' and the kinds of problems he/she can run into.

It's very simple in its concept, extremely powerful but full of subtleties to be aware of to get the most benefit from it and to stay out of trouble.

This 3.5 hour Udemy course on the CALCULATE function starts with a deep dive into the evaluation context, which must be thoroughly understood when working with CALCULATE. We then explore filtering, context modifiers and order of execution. We then spend a fair amount of time discussing the mystery function that is CALCULATETABLE and when to use it. The course is wrapped up with 20 questions to test your knowledge.

When you complete this course you will have a solid grasp on how to use this amazingly simple, in appearance, yet exceedingly powerful, DAX function.

Who this course is for:

  • All DAX developers