Chapter 1
Chapter 1
in Power BI
I N T R O D U C T I O N TO DA X I N POW E R B I
Jess Ahmet
Content Developer, DataCamp
What is DAX?
Data Analysis eXpressions
Formula language to create calculations
Columns, tables, measures
Function categories
Aggregation - SUM() , AVERAGE() , COUNT()
DAX reference:
https://docs.microsoft.com/en-us/dax/dax-function-reference
Add a new column to an existing table Results in another field that you can add to
a visualization
Calculated at data load or when the data is
refreshed Calculated at query time as you interact
and filter
Item Price Tax Price_w_tax
Total_price_w_tax = SUM(Price_w_tax)
A $ 20 25% $25
B $ 45 0% $45
C $ 100 15% $115
Add a new column to an existing table Results in another field that you can add to
a visualization
Calculated at data load and when the data
is refreshed Calculated at query time as you interact
and filter
Item Price Tax Price_w_tax
Total_price_w_tax = SUM(Price_w_tax)
A $ 20 25% $25
B $ 45 0% $45
C $ 100 15% $115
Jess Ahmet
Content Developer, DataCamp
Let's practice!
I N T R O D U C T I O N TO DA X I N POW E R B I