0
0
Power BIbi_tool~10 mins

Why optimization ensures scalability 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 DAX formula to calculate total sales.

Power BI
Total Sales = SUM([1])
Drag options to blanks, or click blank then click option'
ASales[Amount]
BProducts[Category]
CCustomers[Name]
DSales[Date]
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a non-numeric column like Date or Name.
2fill in blank
medium

Complete the DAX formula to calculate average sales per customer.

Power BI
Average Sales = DIVIDE(SUM(Sales[Amount]), [1])
Drag options to blanks, or click blank then click option'
ASUM(Sales[Amount])
BDISTINCTCOUNT(Sales[CustomerID])
CCOUNT(Sales[Amount])
DCOUNTROWS(Customers)
Attempts:
3 left
💡 Hint
Common Mistakes
Using COUNTROWS(Customers) which might not match sales data.
3fill in blank
hard

Fix the error in this DAX formula to calculate sales growth percentage.

Power BI
Sales Growth % = DIVIDE(SUM(Sales[Amount]) [1] SUM(PreviousSales[Amount]), SUM(PreviousSales[Amount]))
Drag options to blanks, or click blank then click option'
A-
B+
C*
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Using + instead of - which adds values instead of finding difference.
4fill in blank
hard

Fill both blanks to create a measure that filters sales for the current year only.

Power BI
Current Year Sales = CALCULATE(SUM(Sales[Amount]), [1](Sales, YEAR(Sales[Date]) = YEAR([2]())))
Drag options to blanks, or click blank then click option'
AFILTER
BYEAR
DNOW
Attempts:
3 left
💡 Hint
Common Mistakes
Using YEAR twice without NOW(), or using wrong filter function.
5fill in blank
hard

Fill all three blanks to create a measure that calculates the percentage of total sales for each product category.

Power BI
Category Sales % = [1](SUM(Sales[Amount]), CALCULATE(SUM(Sales[Amount]), ALL([2])), [3]) * 100
Drag options to blanks, or click blank then click option'
ASales[Category]
B0
CIFERROR
DProducts[Category]
Attempts:
3 left
💡 Hint
Common Mistakes
Using Sales[Category] instead of Products[Category], or missing error handling.