Power BI KPI visual: ahead or behind in one look

How to build the Power BI KPI visual step by step: the value, the trend axis and the target, the sort you must do before you switch to it, the direction setting for numbers where lower is better, and which KPIs suit it.

Short answer: the KPI visual shows a number, whether it is ahead of or behind its target, and the trend that led there. Put a measure in Value, a date field like the month in Trend axis, and a target measure in Target. Sort the visual by the month before you switch it to a KPI, because the KPI visual has no sort option. If lower is better, like costs or wait time, set Direction to low is good.

A card that says "1,820 units" leaves the reader asking whether that is good. The KPI visual answers it in the same space: green and ahead, or red and behind, by how much, and which way it is heading.

Nothing loads from YouTube until you press play. Then Google receives your IP address and may set its own storage. Narrated with an AI-generated voice. Privacy

How do you build it?

  1. Add a line chart or clustered column chart with your measure in Y and the month on X.
  2. Open More options (...), choose Sort axis, pick the month, then Sort ascending.
  3. With the visual selected, click the KPI icon in the Visualizations pane.
  4. Drag your target measure into Target, for example the same measure for last year.
  5. In the Format pane, set Direction under the trend axis: High is good for revenue, Low is good for costs.

The big number the KPI shows is the last point of the trend axis. If the months are in the wrong order, it shows the wrong month, which is why the sort comes first.

Which KPIs suit it?

KPITarget to compare withDirection
Revenue this monthBudget, or the same month last yearHigh is good
Win rateLast quarter's rateHigh is good
Cost per orderBudgetLow is good
Average wait timeService levelLow is good
Customer churnLast year's churnLow is good

It suits one number that moves over time and has a clear goal. For many numbers at once, a table with conditional formatting reads faster.

Why is my KPI visual not showing a trend?

Microsoft's own troubleshooting names two causes: the visual was not sorted by the month before you converted it, or the column in Value is not continuous or has a blank. Start again from the line chart, sort, then switch.

Where can you check this?

Where do you find the target for each KPI?

KPI Atlas has 455 KPIs, each with its formula, the DAX, SQL and Excel, a benchmark to set your target against, and the charts that show it best, so you know what goes in Value and what goes in Target before you open Power BI. For the difference between a KPI and an ordinary metric, see KPI vs metric.

The tool

Do it in your browser.

Data

KPI Atlas

455 KPIs for 30 areas of a business, each with its definition, formula, DAX, SQL and Excel, a benchmark, the mistakes to avoid, and the charts that show it best, drawn.

Keep reading

More from the blog.

Every post