0
0
Power BIbi_tool~10 mins

Why DAX powers calculations in Power BI - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a simple measure that sums the Sales column.

Power BI
Total Sales = SUM([1])
Drag options to blanks, or click blank then click option'
ACustomers[Name]
BSales[Date]
CSales[Amount]
DProducts[Price]
Attempts:
3 left
💡 Hint
Common Mistakes
Using a non-numeric column like Date or Name in SUM causes errors.
2fill in blank
medium

Complete the code to calculate the average sales per order.

Power BI
Average Sales = AVERAGE([1])
Drag options to blanks, or click blank then click option'
ASales[Amount]
BOrders[OrderID]
CCustomers[City]
DProducts[Category]
Attempts:
3 left
💡 Hint
Common Mistakes
Trying to average text or ID columns causes errors or wrong results.
3fill in blank
hard

Fix the error in the measure to calculate total sales for 2023 only.

Power BI
Total Sales 2023 = CALCULATE(SUM(Sales[Amount]), Sales[Year] [1] 2023)
Drag options to blanks, or click blank then click option'
A===
B=
C==
D>
Attempts:
3 left
💡 Hint
Common Mistakes
Using '==' or '===' causes syntax errors in DAX.
4fill in blank
hard

Fill both blanks to create a measure that counts customers from a specific city.

Power BI
Customer Count = CALCULATE(COUNT(Customers[CustomerID]), Customers[City] [1] "[2]")
Drag options to blanks, or click blank then click option'
A=
BNew York
CLos Angeles
D>
Attempts:
3 left
💡 Hint
Common Mistakes
Using '>' instead of '=' for city comparison.
5fill in blank
hard

Fill both blanks to create a measure that calculates total sales for products priced above 100.

Power BI
High Value Sales = CALCULATE(SUM(Sales[Amount]), Products[Price] [1] [2])
Drag options to blanks, or click blank then click option'
A>
B100
C&&
D<
Attempts:
3 left
💡 Hint
Common Mistakes
Using '<' instead of '>' reverses the filter logic.