0
0
Power BIbi_tool~10 mins

Gauge visual in Power BI - Interactive Code Practice

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

Complete the code to set the value field for the Gauge visual.

Power BI
Gauge.Value = [1]
Drag options to blanks, or click blank then click option'
AProductCategory
BCustomerName
COrderDate
DTotalSales
Attempts:
3 left
💡 Hint
Common Mistakes
Using a text field like CustomerName instead of a numeric measure.
2fill in blank
medium

Complete the code to set the maximum value for the Gauge visual.

Power BI
Gauge.Maximum = [1]
Drag options to blanks, or click blank then click option'
ASUM(Sales[Amount])
B1000
CMIN(Sales[Amount])
DCustomerCount
Attempts:
3 left
💡 Hint
Common Mistakes
Using a measure like SUM(Sales[Amount]) which can change dynamically.
3fill in blank
hard

Fix the error in the DAX measure to calculate the current value for the Gauge visual.

Power BI
CurrentValue = CALCULATE(SUM(Sales[Amount]), [1])
Drag options to blanks, or click blank then click option'
AFILTER(Sales, Sales[Region] = "West")
BSales[Region] == "West"
CSUM(Sales[Amount])
DALL(Sales)
Attempts:
3 left
💡 Hint
Common Mistakes
Using boolean expressions directly inside CALCULATE instead of FILTER.
4fill in blank
hard

Fill both blanks to create a Gauge visual measure that shows sales progress as a percentage.

Power BI
SalesProgress = DIVIDE([1], [2]) * 100
Drag options to blanks, or click blank then click option'
ASUM(Sales[Amount])
BSUM(Sales[Target])
CCOUNT(Sales[OrderID])
DMAX(Sales[Amount])
Attempts:
3 left
💡 Hint
Common Mistakes
Using count or max instead of sum for amounts.
5fill in blank
hard

Fill all three blanks to create a Gauge visual measure that shows sales progress with a dynamic maximum value.

Power BI
SalesProgressDynamic = DIVIDE([1], [2], 0) * 100
Gauge.Maximum = [3]
Drag options to blanks, or click blank then click option'
ASUM(Sales[Amount])
BSUM(Sales[Target])
CMAX(Sales[Target])
D100
Attempts:
3 left
💡 Hint
Common Mistakes
Using fixed maximum instead of dynamic maximum.