Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn DAX (Data Analysis Expressions) Basics | Building Robust Data Models and Calculations
Introduction to Power BI

bookDAX (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"
    )
question mark

What does DAX stand for in Power BI?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 3

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 3.7

bookDAX (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"
    )
question mark

What does DAX stand for in Power BI?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 3
some-alt