
Learn DAX Basics
Presentation
•
Computers, Professional Development, Other
•
Professional Development
•
Hard
Li Da Gan
Used 5+ times
FREE Resource
6 Slides • 9 Questions
1
Learn DAX Basics
by Li Da Gan
2
Learn DAX Basics
Data Analysis Expressions (DAX)
A collection of functions, operators and constants that can be used in a formula and expression
Calculate and return one or more values
Provide capabilities to solve data modeling and analytical problems
3 fundamental concepts – Syntax, Functions and Context
DAX in Power BI
3
Fill in the Blanks
DAX stands for
Type answer...
4
Syntax
Calculated Column
E.g. Margin = FactSales[SalesAmount] – FactSales[TotalCost]
In the FactSales table, for each row in the Margin calculated column, calculate (=) a value by subtracting (-) values in the [TotalCost] column from values in the [SalesAmount] column
Calculated Measure
E.g. Sum of Sales Amount = SUM(FactSales[SalesAmount])
For the measure named Sum of Sales Amount, calculate (=) the SUM of values in the [SalesAmount] column in the FactSales table
5
Multiple Choice
What always surrounds a column name in a DAX formula?
Ampersand &
Brackets [ ]
Parentheses ( )
Exclamation !
6
Fill in the Blanks
How would you write a formula for the following:
In the DimProduct table, for each row in the UnitMargin calculated column, calculate a value by subtracting values in the UnitCost column from values in the UnitPrice column?
Type answer...
7
Functions
Predefined formulas that perform calculations by using specific arguments, in a particular order or structure
Categories: Date and Time, Information, Logical, Mathematical, Statistical, Text, and Time Intelligence Functions
DAX functions are unique in the following way:
Always references a complete column or a table. Use filters to the formula if use only particular values from a table or column
Calculations vary by context
Many functions return a table rather than a value. The table is not displayed, but is used to provide input to other function
8
Multiple Select
What does a function always reference?
Variables
Arguments
Table
Column
9
Multiple Choice
What function would you use to concatenate two text strings into one string?
CONCATENATE( )
VALUE( )
CONCATENATEX( )
EXACT( )
10
Multiple Choice
Can a formula contain more than one function?
YES
NO
11
Context
Row Context
The current row
Margin = FactSales[SalesAmount] – FactSales[TotalCost]
Filter Context
One or more filters applied in a calculation that determines a result or value
Define a filter using functions such as ALL, RELATED, FILTER, CALCULATE
SumofSalesAmount = SUM(FactSales[SalesAmount])
StoreSales = CALCULATE(SUM(DimChannel[Sales]), FILTER(DimChannel, DimChannel[ChannelName]=“Store”))
12
Multiple Select
What are the two types of context?
Row
Column
Filter
Group
13
Fill in the Blanks
Filter Context : One or more _ in a calculation that determines a single value
Type answer...
14
Multiple Choice
Which part is the context?
StoreSales = CALCULATE(SUM(DimChannel[Sales]), FILTER(DimChannel, DimChannel[ChannelName]=“Store”))
StoreSales
Sum(DimChannel[Sales])
FILTER(DimChannel, DimChannel[ChannelName]=“Store”)
15
Advanced Techniques
Multi-lines DAX formula
Learn DAX Basics
by Li Da Gan
Show answer
Auto Play
Slide 1 / 15
SLIDE
Similar Resources on Wayground
8 questions
Использование расширенного фильтра для фильтрации данных
Presentation
•
KG - University
10 questions
Quiz ASA
Presentation
•
Professional Development
10 questions
Asesmen Formatif TIK (Excel) X Kuliner
Presentation
•
KG - University
14 questions
Sales Meeting- May 14, 2025
Presentation
•
Professional Development
12 questions
SEMANA 2_1
Presentation
•
Professional Development
13 questions
Melestarikan Lingkungan
Presentation
•
Professional Development
11 questions
Aj. NesT Data Visualization
Presentation
•
University
11 questions
EII 3 - U7 LESSON 3
Presentation
•
University
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Soup, Salad, or Sandwich?
Quiz
•
1st Grade - Professio...
20 questions
Employability Skills
Quiz
•
Professional Development
9 questions
How to Email your Teacher
Quiz
•
Professional Development
25 questions
2023 Pop Culture Trivia
Quiz
•
Professional Development
20 questions
Cinema Camera Angles
Quiz
•
9th Grade - Professio...
20 questions
Sports trivia
Quiz
•
Professional Development
21 questions
Shop Safety
Quiz
•
Professional Development