Codex Zone Gauge

KPI

A semicircular gauge with configurable danger, warning, and success zones.

Gauge styles

6 built in — every one is a real render, not a mock-up.

Codex Zone Gauge — Pressure Dial
Pressure Dial
Codex Zone Gauge — Speedometer
Speedometer
Codex Zone Gauge — Tachometer
Tachometer
Codex Zone Gauge — Progress Ring
Progress Ring
Codex Zone Gauge — Segmented Meter
Segmented Meter
Codex Zone Gauge — Thermometer
Thermometer

Overview

Know your zone instantly. Codex Zone Gauge renders a semicircular arc divided into three colour-coded zones — red (danger), amber (warning), and green (success). The animated needle points to the current value, and an optional target marker shows where you need to be.

Ideal For

  • Operational dashboards — capacity utilisation, SLA compliance, defect rate
  • Financial KPIs — budget consumed, margin, or collection rate vs thresholds
  • Quality and accuracy reporting with pass/fail zones
  • Any single KPI where status matters more than the exact number

Key Features

  • Three configurable colour zones: danger (red), warning (amber), success (green)
  • Zone boundary thresholds driven by measures — change dynamically with filters
  • Optional target marker line on the arc
  • Animated needle that transitions smoothly when data updates
  • Configurable min/max range — works for percentages, counts, or any unit
  • Value displayed below the needle with configurable format
  • Hover tooltip showing current value, zone name, and target
  • Right-click context menu support
Pro Tip

Drive Zone 1 max and Zone 2 max from measures rather than hardcoding them in the format pane. This lets the thresholds shift with filters — useful when different products or regions have different performance benchmarks.

Help guide

What goes in each field

Field well Put in Required What it does
Category Column No Shown under the reading, and clicking the gauge filters the page by it.
Value Measure Yes The reading the gauge points to.
Target Measure No Drawn as a target mark. Required when the zones are set relative to the target.
Comparison Measure No A second marker on the scale, such as last month's result.
Minimum Measure No The start of the scale.
Maximum Measure No The end of the scale. Leave Minimum and Maximum empty and the gauge picks a tidy scale that fits Value, Target and Comparison.

The gauge shows one reading, taken from the first row it receives. Put it in a context that returns one row: a page filter, a slicer, or no Category at all.

Build the measures

The examples assume a Sales table with an Amount column, related to a marked date table called 'Date', plus a [Revenue Target] measure. Swap in your own names.

Value: share of this month's target reached

Target Attainment =
DIVIDE ( TOTALMTD ( SUM ( Sales[Amount] ), 'Date'[Date] ), [Revenue Target] )

Give this measure a percentage format in the model (Measure tools → Format → Percentage). The gauge then writes the reading and the scale as percentages, such as 85%.

Comparison: the same measure last month

Target Attainment Prior =
CALCULATE ( [Target Attainment], DATEADD ( 'Date'[Date], -1, MONTH ) )

Target: 100% of target

Attainment Goal = 1

Power BI stores percentages as fractions, so 1 is 100%.

Minimum: the start of the scale

Attainment Min = 0

Maximum: the end of the scale, at 120%

Attainment Max = 1.2

Put it together

  1. Add the visual and drag Target Attainment into Value and Attainment Goal into Target.
  2. Drag Target Attainment Prior into Comparison.
  3. Drag Attainment Min into Minimum and Attainment Max into Maximum.
  4. In the Format pane, open Zones. Set Zone 1 End to 0.8 and Zone 2 End to 0.95. Up to 80% is red, from there to 95% is amber, and above 95% is green.
  5. Open Gauge Style and choose a Style, such as Speedometer or Progress Ring.

Tips

  • Zone 1 End and Zone 2 End use the same units as Value. For a percentage measure that means fractions: type 0.8, not 80. A number above Maximum is pulled back to Maximum, so 80 against a scale that ends at 1.2 turns the whole gauge red.
  • Leave Value Display → Value Format on Number when the measure has a percentage format. Percent only adds a % sign to the raw number, so it suits a measure that already returns 85 rather than 0.85.
  • For costs, wait times and error rates, set Zones → Direction to Lower is better. Zone 1 then shows green and the top of the scale shows red.
  • To judge the reading by its distance from Target instead, set Banding to Target relative and use On-target ±% and Warning ±%. Without a Target the gauge shows "Target is required for target-relative zones".
  • If Minimum is not less than Maximum the gauge shows "Minimum must be less than Maximum". A blank Value shows the setup prompt.
From $1.49 / user / month · volume pricing from $29/mo

Billed through Microsoft AppSource


Category KPI
Tooltips
Cross-filtering
High Contrast