Codex Bullet Chart
ChartCompare actual performance against a target — in less space than a bar chart.
Styles
4 stylings shipped — every one is a real render, in your theme.
Overview
More signal. Less space. No clutter. Codex Bullet Chart is a horizontal bar chart optimised for performance-vs-target reporting. Each row shows an actual bar and a target marker line, making it immediately obvious who is above or below target — without needing a separate chart or conditional formatting column.
Ideal For
- Department or team performance dashboards
- Sales pipeline — deals closed vs target by rep or region
- Operational KPIs — cycle time, quality score, or throughput vs target
- Any scenario where you have an actual value and a benchmark to compare against
Key Features
- Horizontal bar per category with configurable bar colour
- Target marker line with configurable colour and thickness
- Qualitative range zones (Poor / Acceptable / Good) for background context
- Value labels on bars — show actuals directly without a separate tooltip
- Sort order field well — order rows by any measure, not just alphabetically
- Axis labels with configurable title and gridlines
- Hover tooltip showing category, actual, and target
- Click a bar to cross-filter other visuals on the page
Set the Poor and Acceptable thresholds in the Format pane to match your business benchmarks. The background zones give reviewers immediate context without adding extra visual elements.
Help guide
What goes in each field
| Field well | Put in | Required | What it does |
|---|---|---|---|
| Category | Column | No | One bullet row per value, such as each region. Without it you get a single row. |
| Actual | Measure | Yes | The main bar. Rows where it is blank are left out. |
| Target | Measure | No | The target marker. It also colours the bar when Bar Color is left at its default. |
| Maximum | Measure | No | The end of each row's scale. Leave it empty and each row ends at 1.2 times the larger of its Actual and Target. |
| Sort Order | Measure | No | A number that sets the row order, lowest first. Rows without a number go to the end. Without it the rows keep the order Power BI sends them in. |
Build the measures
The examples assume a Sales table with an Amount column, related to a marked date table called 'Date' and to a Store table with a Region column, plus a [Revenue Target] measure. Swap in your own names.
Actual: this month's revenue
Revenue MTD =
TOTALMTD ( SUM ( Sales[Amount] ), 'Date'[Date] )
Target: the monthly target
Use your existing [Revenue Target] measure. It must return a result for each region.
Maximum: a stretch goal 25% above target
Revenue Stretch =
[Revenue Target] * 1.25
The qualitative ranges are drawn as a share of this number, so a fixed stretch goal keeps the bands meaningful from month to month.
Sort Order: biggest region first
Revenue Rank =
RANKX ( ALLSELECTED ( Store[Region] ), [Revenue MTD], , DESC )
Rank 1 is the highest revenue, and the chart sorts lowest first, so the top region comes first.
Put it together
- Add the visual and drag
Store[Region]into Category. - Drag Revenue MTD into Actual, Revenue Target into Target and Revenue Stretch into Maximum.
- Drag Revenue Rank into Sort Order.
- In the Format pane, open Qualitative Ranges and set Poor Threshold (%) and Acceptable Threshold (%). They are percentages of each row's Maximum.
- Open Labels and set Display Units and Decimal Places for the value labels.
Tips
- Leave Bullet Settings → Bar Color at its default and each bar is coloured by its Actual against its Target: green at or above target, amber within 90%, red below that. Pick your own colour and that colouring switches off.
- With Axis → Show Axis off, every row is scaled to its own Maximum, so bar lengths are not comparable between rows. Turn Show Axis on to put every row on one shared scale.
- Set Bullet Settings → Value Format to Percent for a ratio measure. Power BI stores 45% as 0.45, and the chart multiplies by 100 for you. Currency always writes a
$sign. - An empty Actual well, or an Actual that is blank on every row, shows the setup prompt instead of a chart.
Billed through Microsoft AppSource