Intro To DAX in Power BI
Intro To DAX in Power BI
Intro to
DAX in
Power BI
Basics
Swipe Left
@ashwani-kushwah
In simpler terms:
DAX is the language you use to
tell Power BI what to calculate.
Swipe Left
@ashwani-kushwah
Swipe Left
@ashwani-kushwah
Swipe Left
@ashwani-kushwah
Swipe Left
@ashwani-kushwah
2. Calculated measures
Quick measures
Swipe Left
@ashwani-kushwah
Swipe Left
@ashwani-kushwah
Swipe Left
@ashwani-kushwah
Swipe Left
@ashwani-kushwah
Calculated measure
Swipe Left
@ashwani-kushwah
Swipe Left
Explanation of above function:
- AVERAGE(Orders[Sales]) : calculates the
average of all sales values
- ALLSELECTED(Orders[Product Category]) :
used to return all the values in a column,
ignoring any filters that might be applied to that
column
- CALCULATE() : It takes two arguments:
The first argument is the expression to be
calculated
The second argument is a filter modification
Together, they mean: Calculate the
average sales for all product categories,
regardless of any filters applied to the
product category.
@ashwani-kushwah
Thank You
For Your
Attention