Ravindra BagaleCourses & study guides Track your progress

Guides

How to Create a Gauge Chart in Power BI

Quick answer

To create a gauge chart in Power BI:

  1. Click the Gauge icon in the Visualizations pane.
  2. Drag your measure (for example Total Sales) into Value.
  3. Drag your target measure into Target value.
  4. Set Minimum value and Maximum value so the dial has a fixed range.
  5. 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.

Gauge build flow from top to bottom Value: Total Sales 7.5 L Target: 10 L Gauge shows 75% filledwith a target line
Value goes in first, then the target, and the gauge shows how far you are.

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:

  1. Value: the number now (₹7,50,000).
  2. Minimum: where the dial starts (0).
  3. Maximum: where the dial ends (₹12,00,000).
  4. 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:

  1. Load the Zomato Orders table with an Amount column.
  2. Create a measure: Total Sales = SUM ( Orders[Amount] ).
  3. Click the Gauge icon.
  4. Drag Total Sales into 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:

  1. Drag Sales Target into Target value.
  2. Drag Sales Max into Maximum value.
  3. 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:

CityTarget
Pune1000000
Mumbai1800000
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:

  1. Create a measure for color:
Gauge Color =
SWITCH (
    TRUE (),
    [Target %] >= 1, "#2E7D32",
    [Target %] >= 0.7, "#F9A825",
    "#C62828"
)
  1. Select the gauge, open Format, then Colors.
  2. Next to Fill color, click the fx button.
  3. 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.

VisualShowsUse it when
GaugeOne value in a range with a targetProgress toward one goal
CardOne number onlyNo target or range is needed
KPIValue, target and trend over timeYou also want the trend

Common mistakes

  1. No maximum set, so the dial range keeps changing with each filter.
  2. A Target bigger than the Maximum, so the target line goes off the dial.
  3. Putting a text column in Value. Gauge needs a number or a measure.
  4. Using many gauges to compare cities. Use a bar chart instead.

Quick quiz: check what you learned

  1. What does a gauge chart show?

    1. One value against a range
    2. Many cities side by side
    3. Sales trend for each month
    4. A list of all orders
    Show answer

    A. A gauge shows one value in a range.

  2. Default maximum with no max set?

    1. Double the current value
    2. Exactly the target value
    3. Always one hundred percent
    4. The smallest order amount
    Show answer

    A. Power BI uses twice the value.

  3. Which field draws the goal line?

    1. The Target value field
    2. The Minimum value field
    3. The Tooltips field well
    4. The Legend field well
    Show answer

    A. Target value draws the line.

  4. Why use DIVIDE for Target %?

    1. It avoids an error if blank
    2. It makes the dial turn green
    3. It sets the maximum value
    4. It sorts the months in order
    Show answer

    A. DIVIDE handles a blank target.