How to Create a Gauge Chart in Power BI
Quick answer
To create a gauge chart in Power BI:
- Click the Gauge icon in the Visualizations pane.
- Drag your measure (for example
Total Sales) into Value. - Drag your target measure into Target value.
- Set Minimum value and Maximum value so the dial has a fixed range.
- Open Format and change colors, data labels and the callout value.
Real example first: Zomato monthly sales target
Suppose we are at Zomato. The Pune team has a sales target of ₹10,00,000 for October. Till today they have done ₹7,50,000. The manager does not want a big table. She wants one look: "Are we close to the target?"
A gauge chart answers this. It looks like a car speedometer. The filled arc shows how much is done. A thin line shows the target.
What is a gauge chart in Power BI?
A gauge is a half-circle dial. It shows one number against a range. It has these parts:
- Value: the number now (₹7,50,000).
- Minimum: where the dial starts (0).
- Maximum: where the dial ends (₹12,00,000).
- Target: the goal line (₹10,00,000).
Use a gauge for progress toward one goal: sales target, delivery time goal, customer rating goal. Do not use it to compare many cities. A bar chart is better for that.
Worked example 1 (simplest): value only
Steps:
- Load the Zomato
Orderstable with anAmountcolumn. - Create a measure:
Total Sales = SUM ( Orders[Amount] ). - Click the Gauge icon.
- Drag
Total Salesinto Value.
Output: the dial fills exactly half, and the maximum shows ₹15,00,000. Why? With no maximum set, Power BI uses double the value as the maximum. That is confusing, so next we fix the range.
Worked example 2: add min, max and target
Create two simple measures:
Sales Target = 1000000
Sales Max = 1200000
Steps:
- Drag
Sales Targetinto Target value. - Drag
Sales Maxinto Maximum value. - Leave Minimum value empty. It starts at 0.
Output: the arc fills to 7.5 L out of 12 L. A thin line marks 10 L. The manager can see the team is 2.5 L short.
Worked example 3: target from a table, per city
Real targets are different for each city. Suppose a Targets table:
| City | Target |
|---|---|
| Pune | 1000000 |
| Mumbai | 1800000 |
Sales Target = SUM ( Targets[Target] )
Sales Max = [Sales Target] * 1.2
Connect Targets[City] and Orders[City] to a shared City table, then add a City slicer.
Output: click Pune, and the gauge shows 7.5 L against 10 L. Click Mumbai, and the target line and the range move to Mumbai's numbers.
Worked example 4: show percent of target
Target % = DIVIDE ( [Total Sales], [Sales Target] )
Set the measure format to Percentage. Put Target % in a Card next to the gauge, or in the gauge Tooltips.
Output: Pune shows 75%. DIVIDE also avoids an error if the target is blank.
Worked example 5: color by status
Steps:
- Create a measure for color:
Gauge Color =
SWITCH (
TRUE (),
[Target %] >= 1, "#2E7D32",
[Target %] >= 0.7, "#F9A825",
"#C62828"
)
- Select the gauge, open Format, then Colors.
- Next to Fill color, click the fx button.
- Choose Format style: Field value and pick
Gauge Color.
Output: Pune at 75% shows yellow. Below 70% it turns red. At or above 100% it turns green.
| Visual | Shows | Use it when |
|---|---|---|
| Gauge | One value in a range with a target | Progress toward one goal |
| Card | One number only | No target or range is needed |
| KPI | Value, target and trend over time | You also want the trend |
Common mistakes
- No maximum set, so the dial range keeps changing with each filter.
- A Target bigger than the Maximum, so the target line goes off the dial.
- Putting a text column in Value. Gauge needs a number or a measure.
- Using many gauges to compare cities. Use a bar chart instead.
Quick quiz: check what you learned
What does a gauge chart show?
- One value against a range
- Many cities side by side
- Sales trend for each month
- A list of all orders
Show answer
A. A gauge shows one value in a range.
Default maximum with no max set?
- Double the current value
- Exactly the target value
- Always one hundred percent
- The smallest order amount
Show answer
A. Power BI uses twice the value.
Which field draws the goal line?
- The Target value field
- The Minimum value field
- The Tooltips field well
- The Legend field well
Show answer
A. Target value draws the line.
Why use DIVIDE for Target %?
- It avoids an error if blank
- It makes the dial turn green
- It sets the maximum value
- It sorts the months in order
Show answer
A. DIVIDE handles a blank target.
Learn it properly
Related guides: KPI, Card and Scorecard · Conditional formatting · Build your first dashboard