DAX (Data Analysis Expressions) Basics
Begin your first hands-on experience with DAX (Data Analysis Expressions) by learning how to create and organize measures within a calculation table. This approach helps structure and manage calculations effectively, streamlining data analysis and reporting in both Power BI and Excel Power Pivot.
Alongside basic aggregation functions, you will explore the powerful CALCULATE function in DAX, which modifies the context of a calculation by applying filters.
To calculate the total number of riders from two columns, use the SUM function and the + operator:
Total Riders =
SUM(Pivot_Table[casual])
+ SUM(Pivot_Table[registered])
To compute riders during the winter season, use CALCULATE with your total riders measure and a filter condition:
Winter Riders =
CALCULATE(
[Total Riders],
Pivot_Table[Season Names] = "Winter"
)
Thanks for your feedback!
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.7
DAX (Data Analysis Expressions) Basics
Swipe to show menu
Begin your first hands-on experience with DAX (Data Analysis Expressions) by learning how to create and organize measures within a calculation table. This approach helps structure and manage calculations effectively, streamlining data analysis and reporting in both Power BI and Excel Power Pivot.
Alongside basic aggregation functions, you will explore the powerful CALCULATE function in DAX, which modifies the context of a calculation by applying filters.
To calculate the total number of riders from two columns, use the SUM function and the + operator:
Total Riders =
SUM(Pivot_Table[casual])
+ SUM(Pivot_Table[registered])
To compute riders during the winter season, use CALCULATE with your total riders measure and a filter condition:
Winter Riders =
CALCULATE(
[Total Riders],
Pivot_Table[Season Names] = "Winter"
)
Thanks for your feedback!