Codex Icon Gauge
KPIA metric-to-icon gauge — fill vessel, icon row, traffic light, or state morph, read against a target.
Display modes
4 built in — every one is a real render, not a mock-up.
Vessel shapes
6 built in — every one is a real render, not a mock-up.
Overview
Some numbers are read faster as a shape than as a digit. Codex Icon Gauge renders a measure against its target as an icon that fills, lights, or changes state — so a viewer scanning a page registers the status before reading the value. Four display modes cover the common idioms, each with its own set of variants.
Ideal For
- Status tiles where the reader needs the verdict before the number
- Operational walls scanned from a distance, where a filled shape beats a small digit
- Reports that already use a traffic-light convention and want it driven by data
- Pages needing visual variety without introducing a second charting idiom
Key Features
- Four display modes — Fill Vessel, Icon Row, Traffic Light, and State Morph
- Fill Vessel offers six vessel shapes: bolt, battery, droplet, heart, person, and thumb
- State Morph offers three morph styles: faces, thumbs, and tick / cross
- Target measure drives the fill proportion and the health read
- Optional status glyph overlaid on the icon for colour-blind-safe reading
- Value and status line can each be shown or hidden independently
- Full typography control on the value — family, size, weight, colour, and alignment
- Click to cross-filter other visuals; right-click for the standard context menu
Traffic Light and State Morph read best at small tile sizes where a Fill Vessel would lose detail. Reserve Fill Vessel for tiles large enough that the fill proportion is actually legible.
Help guide
What goes in each field
| Field well | Put in | Required | What it does |
|---|---|---|---|
| Category | Column | No | A label for the reading. In Fill Vessel and Icon Row modes it shows in the status line when there is no Target. It also lets the gauge cross-filter the page when clicked. |
| Value | Measure | Yes | The reading. With a Target, the gauge shows it as a percentage of the target. Without one, the value itself is read as a percentage. |
| Target | Measure | No | The number the reading is judged against. It drives the fill, the colour and the "of target" status line. |
| Tooltips | Measure | No | Extra measures shown on hover, each with its own name and format. |
The gauge shows one reading. It uses the first row only, so put it in a context that returns one row: a page filter, a slicer, or no Category at all. For several gauges, use several copies of the visual.
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: this month's revenue
Revenue MTD =
TOTALMTD ( SUM ( Sales[Amount] ), 'Date'[Date] )
Target: the monthly target
Use your existing [Revenue Target] measure. The gauge divides Value by Target and shows the result as a percentage, so 90,000 against a 100,000 target reads 90%.
Tooltips: how far there is to go
Revenue Gap =
MAX ( [Revenue Target] - [Revenue MTD], 0 )
Value without a Target: a rate on a 0–100 scale
On Time % =
DIVIDE (
CALCULATE ( COUNTROWS ( Sales ), Sales[Delivered On Time] = TRUE () ),
COUNTROWS ( Sales )
) * 100
With no Target, the gauge reads the value as the percentage itself, so multiply a fraction by 100. Left as 0.94, it reads as 1%. This example also assumes a true/false Delivered On Time column on Sales.
Put it together
- Add the visual and drag Revenue MTD into Value.
- Drag Revenue Target into Target and Revenue Gap into Tooltips.
- In the Format pane, open Icon Gauge and choose a Display mode: Fill Vessel, Icon Row, Traffic Light or State Morph.
- For Fill Vessel, pick a Vessel shape. For State Morph, pick a Morph style: Faces, Thumbs or Tick / Cross.
- Turn Show value and Show status line on or off to suit the tile size.
Tips
- The colour follows the target: at or above target is good, at or above 90% of target is a warning, and below that is bad. Without a Target, the same cut-offs apply at 100 and 90.
- Status glyph appears only in Traffic Light mode. It puts a tick, exclamation mark or cross on the lit lamp, on by default, so the state reads without colour.
- Give Value and Target a format in the model. In Fill Vessel and Icon Row modes the status line uses them, such as "$90,000 of $100,000 target". Traffic Light and State Morph show a word instead, such as "On track" or "At risk".
- A blank Value shows the setup prompt instead of a gauge. Check the measure returns a result for the current filters.
Billed through Microsoft AppSource