DAX Variables and Functions Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Design and Build Semantic Models

What you'll be asked

  1. Which DAX function is used to define a variable within a measure or calculated column?
  2. What is the primary benefit of using variables in a DAX measure?
  3. Consider the following DAX: VAR TotalSales = SUM(Sales[Amount]) RETURN TotalSales * 0.1. What is the scope of the variable 'TotalSales'?
  4. Which function would you use to change the filter context of a calculation by removing all filters from a specific table?
  5. If you define a variable inside a CALCULATE function, when is that variable evaluated?

Answers and explanations come after you submit.