Power BI How-To
How to make a gauge chart in Power BI
Build a gauge chart in Power BI: field wells, a worked example, when the native visual is enough, and how to generate the .pbiviz without code.
By Nawaf Sharaf · Founder & Reliability Engineer · Updated
A gauge puts one number on a scale with coloured bands and a target: 72% attainment, yellow band from 60, green from 80, target at 85. It is compact and immediately legible, which is why operations and sales dashboards keep using it despite data-visualisation purists preferring bullet charts.
Power BI's native gauge covers one value with one target. This guide is for coloured bands (red/amber/green zones), a target marker that stands out, bands driven by measures rather than typed-in constants, and a grid of small gauges per region or team. It starts with the single-measure data shape and the three optional band measures.
Step-by-step
- 1
Shape the data for the gauge chart
A single measure for the current value. Optional: a target measure, a minimum, and a maximum. Bands can be hard-coded or driven by measures. In the finished visual those columns land in the Value, Target, Min / Max, Band thresholds wells, so name them that way from the start.
- 2
Load a small sample into Power BI Desktop
Create the attainment, target and threshold measures over a small SLA table with at least two regions. Two regions are enough to test that a slicer moves the value, the tick and the bands together.
- 3
Describe the gauge chart and generate the .pbiviz
On VizForge, describe the chart in plain English and say what matters for this one: semicircle, 270° arc or full circle; band colours and whether the thresholds come from measures or constants; needle, filled arc, or both. The pipeline writes the TypeScript, type-checks it and packages a .pbiviz.
- 4
Import the .pbiviz into Power BI Desktop
In the Visualizations pane, open the three-dot menu, choose Import a visual from a file and select the .pbiviz. The visual appears in the gallery; add it to the page like any built-in chart.
- 5
Bind the field wells
Value: Numeric measure: the needle or arc position. Target: Optional numeric measure: the target tick. Min / Max: Optional numeric measures (defaults 0 and 100). Band thresholds: Optional measures: the boundaries between bands.
- 6
Check the first render, then format
Needle pinned at max: the Value is a percentage stored as 0.72 while Max is 100. Multiply or change Max to 1. Bands not appearing: the threshold measures return BLANK for the current filter. Then open the formatting pane and set arc thickness and start/end angle.
Field wells the generated gauge chart exposes
After import, these are the data roles you drop fields into. The names come from the visual’s capabilities.json, which you can rename before packaging if your team uses different terms.
| Well | Takes | Note |
|---|---|---|
| Value | Numeric measure: the needle or arc position. | One value per gauge; for a grid, add a Category well. |
| Target | Optional numeric measure: the target tick. | A measure, so it follows slicers. |
| Min / Max | Optional numeric measures (defaults 0 and 100). | Max should be a measure if the scale changes per selection. |
| Band thresholds | Optional measures: the boundaries between bands. | Two thresholds make three bands. |
Worked example
SLA attainment with a target and two thresholds.
| Measure | Value |
|---|---|
| Attainment % | 72 |
| Target | 85 |
| Amber from | 60 |
| Green from | 80 |
| Max | 100 |
What the chart draws: A semicircular arc filled to 72 in amber, a thin target tick at 85, red/amber/green bands behind the arc and the value printed in the centre. Filter the page to one region and every number moves because each is a measure.
Live preview
The AI alternative: Describe your gauge chart in plain English and VizForge generates the .pbiviz, source included. 5 free credits on signup, no card required.
Generate a gauge chart on VizForge →Without code: what to put in the prompt
The generator turns a description into the TypeScript, so the description is where the decisions live. For a gauge chart, say:
- Semicircle, 270° arc or full circle.
- Band colours and whether the thresholds come from measures or constants.
- Needle, filled arc, or both.
- What's printed in the centre: value, value and target, or percent of target.
- Single gauge or a small-multiple grid by category.
Example VizForge prompt
Radial gauge, 0-100 scale, current value in the center as a large number. Red band 0-60, yellow 60-80, green 80-100. Target marker at 85. Thin grey arc outside the active segment.
Customise it: formatting options worth exposing
Anything you name as adjustable becomes a card in Power BI’s formatting pane, which a report theme can then set for every copy of the visual. For a gauge chart the options that earn their place are:
- Arc thickness and start/end angle.
- Band colours (one picker per band) and band opacity.
- Target marker style, colour and width.
- Centre value number format and font size.
- Animation on/off for auto-refreshing reports.
For changes the pane doesn’t cover, edit settings.ts and visual.ts in the source that ships with the download and repackage; or refine on VizForge and get a v2 that keeps everything you didn’t mention.
When native Power BI is enough (as of November 2026)
Power BI's built-in gauge is enough for one value, a target line, a minimum and maximum, and a single fill colour: typical for a KPI tile with a goal. It cannot draw red/amber/green bands, change the needle style or render one gauge per category. If your requirement is just 'value vs. target', use the native one.
Limits of Marketplace gauge chart visuals
Marketplace gauges mostly fix the arc geometry and the number of bands, and threshold-by-measure is a frequent paid feature. Small multiples (one gauge per category) are rare and when offered usually have a hard cap on the number of gauges. Because the wells are fixed, you can't add a second comparison marker (prior period) alongside the target.
The general trade-offs (per-user licensing, closed source, no new field wells) are the same for every chart type; see VizForge vs Microsoft Marketplace visuals for the full comparison.
Download, install and first render
The download is a standard .pbiviz plus the TypeScript source. Import it in Power BI Desktop (Visualizations pane → three dots → Import a visual from a file), add it to the page and bind the wells above. Then check the gauge chart against this list before you connect the full dataset:
- Needle pinned at max: the Value is a percentage stored as 0.72 while Max is 100. Multiply or change Max to 1.
- Bands not appearing: the threshold measures return BLANK for the current filter.
- Centre value showing 0.72: set the number format to percent in the formatting pane.
- Gauges in a grid all identical: the Category well is empty, so every gauge gets the grand total.
When to use a gauge chart
- SLA attainment (current value, target line, breach threshold)
- Quota attainment for a sales rep or team
- System health score (multi-band gauge)
- Utilization gauges (capacity, occupancy, CPU)
- Risk score dashboards with color-coded zones
Frequently asked questions
Will the visual work in Power BI Service, Premium and embedded reports?
Yes. A .pbiviz is a standard Power BI custom visual and renders the same in Desktop, the Service, Premium and Premium per User capacities, and embedded scenarios. Tenant admins can restrict custom visuals to certified or organisational ones; if yours does, publish the .pbiviz as an organisational visual rather than importing it per report.
What if I need to change the visual later?
Two paths. Refine on VizForge with an instruction such as "add a target line" and get a v2 .pbiviz that keeps everything you didn't mention; or open the TypeScript source that ships with every download in VS Code, edit it and repackage with pbiviz package.
Can I have multiple gauges on one visual?
Yes — VizForge generates a multi-gauge grid when you specify 'show one gauge per category'. Each renders independently with its own bands.
Full circle or semicircle?
Either. Prompt for 'semicircular' (classic speedometer) or 'full circle' (donut-style). Partial arcs like 270° are also supported.
Can bands be measure-driven instead of hard-coded?
Yes — the visual accepts three optional measures for band thresholds so they update with the data.
Is there an animated needle?
Yes, enabled by default. Prompt for 'no animation' if your report auto-refreshes frequently and the transitions distract.
Put your gauge chart on a designed page
Free Design Studio page layouts. Download the background, theme and PBIP project, then import the visual into the slot.
Operations template
Customer SupportHas a slot for it: “CSAT vs target”.
Operations template
Call Centre OperationsHas a slot for it: “Service level (80/20)”.
IT template
IT Service DeskHas a slot for it: “SLA compliance”.
Design the page around it, free
A custom visual looks best on a designed page. The free VizForge Design Studio lays out a branded report page at Power BI’s pixel size and exports the background image, a theme JSON and a PBIP project. No signup.
Open the free Design Studio →Guides for related charts
Reference
Data shape, DAX measures, related visuals.
Index
One guide per Power BI visual type, plus the Design Studio guides.
VizForge — AI-generated Power BI custom visuals.