Introduction to DAX

Power Pivot in Excel

Nick Edwards

Analyst at Roofstock

Data Analysis Expressions

Image showing data being coded and a data language being used

1 https://learn.microsoft.com/en-us/dax/dax-overview
Power Pivot in Excel

Syntax of DAX

example of DAX

Power Pivot in Excel

Syntax of DAX

example of DAX

Power Pivot in Excel

Syntax of DAX

example of DAX

Power Pivot in Excel

Syntax of DAX

example of DAX

Power Pivot in Excel

Syntax of DAX

example of DAX

Power Pivot in Excel

Syntax of DAX

example of DAX

Power Pivot in Excel

Calculated columns vs measures

Columns

Measures

  • Evaluated at the row level
  • Adds a new column to an existing table
  • Calculated at data load
  • Aggregates many rows
  • Adds a field, not a column, that can be visualized
  • Calculated at query time
Power Pivot in Excel

Row context

table with a column highlighted showing row context

Power Pivot in Excel

Row context

table showing measure summarization

Power Pivot in Excel

Row context

table showing measure summarization with SUM() example

Power Pivot in Excel

Filter context

table with the bottom rows blacked-out to represent filter context

Power Pivot in Excel

Let's practice!

Power Pivot in Excel

Preparing Video For Download...