
Learn DAX Basics
Presentation
•
Computers, Professional Development, Other
•
Professional Development
•
Hard
Li Da Gan
Used 5+ times
FREE Resource
6 Slides • 9 Questions
1
by Li Da Gan
2
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
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
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
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
Multi-lines DAX formula
by Li Da Gan
Show answer
Auto Play
Slide 1 / 15
SLIDE
Similar Resources on Wayground
12 questions
How to Use Quizizz
Presentation
•
University
11 questions
30/60/90 day Plan for International Business
Presentation
•
Professional Development
13 questions
HTML Tables
Presentation
•
Professional Development
12 questions
Pelatihan Quizizz Hari Ke-2 SMP N 218 Jakarta
Presentation
•
Professional Development
11 questions
English Language Proficiency Standards (ELPS)
Presentation
•
University - Professi...
7 questions
Presentasi Selling
Presentation
•
Professional Development
12 questions
CS0005 - Data Warehouse
Presentation
•
University
9 questions
Preparing Your Strategies for TTS2233
Presentation
•
University
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade