KPI visual and targets

A number on its own says little. Only with a target does it become a statement: met or not. In Power BI the target is usually a measure itself, such as previous-year sales plus ten percent.

In short: the KPI visual shows a value, its trend and the distance to the target. Its fields are Value, Trend axis (usually months) and Target. You write the target as a measure; for tables with many rows, status icons come from a measure as well.

Before this: Time intelligence (level 5) and Hierarchy and drill down.

Try it now

Task The KPI visual needs a target: 10% more than last year. Create the measure "Target": previous-year sales times 1.1. The matrix is filtered to 2026.

Sales 120 rows, 7 columns
OrderIDOrderDateShipDateProductIDRegionIDQuantityAmount
13 Oct 20266 Oct 20261221798
29 Nov 202519 Nov 20252351145
320 Sep 202627 Sep 2026544596
416 Jun 20252 Jul 20252151145
526 Mar 202631 Mar 20261343596
64 Dec 202510 Dec 2025545745
78 Jul 202526 Jul 2025614196
820 Feb 20251 Mar 202532359.7
99 Dec 202524 Dec 202562298
1012 Aug 202625 Aug 2026212458
117 Sep 202612 Sep 2026542298
122 Mar 202614 Mar 2026623147

Showing the first 12 of 120 rows.

Measures: [Total Sales]

Product 6 rows, 4 columns
ProductIDProductCategoryPrice
1LaptopHardware899
2MonitorHardware229
3MouseAccessories19.9
4KeyboardAccessories39.9
5Office suiteSoftware149
6AntivirusSoftware49
Region 4 rows, 2 columns
RegionIDRegion
1North
2South
3West
4East
Date 730 rows, 4 columns
DateYearMonthMonthName
1 Jan 202520251Jan
2 Jan 202520251Jan
3 Jan 202520251Jan
4 Jan 202520251Jan
5 Jan 202520251Jan
6 Jan 202520251Jan
7 Jan 202520251Jan
8 Jan 202520251Jan
9 Jan 202520251Jan
10 Jan 202520251Jan
11 Jan 202520251Jan
12 Jan 202520251Jan

Showing the first 12 of 730 rows.

The KPI visual

  • Value: the KPI, for example [Total Sales].
  • Trend axis: a date field, for example the month. The visual draws the trend from it in the background.
  • Target: the target measure. The visual shows the distance to it.

In the visual's format options you set whether a high value is good or bad, and which colors stand for it. The KPI visual shows exactly one number. For a list of regions or products with a status you need a table or matrix with your own measures.

Status per row

Task [Target] is in the model. Create the measure "Status": an up triangle (UNICHAR(9650)) if [Total Sales] meets the target, otherwise a down triangle (UNICHAR(9660)). The matrix is filtered to 2026.

Sales 120 rows, 7 columns
OrderIDOrderDateShipDateProductIDRegionIDQuantityAmount
13 Oct 20266 Oct 20261221798
29 Nov 202519 Nov 20252351145
320 Sep 202627 Sep 2026544596
416 Jun 20252 Jul 20252151145
526 Mar 202631 Mar 20261343596
64 Dec 202510 Dec 2025545745
78 Jul 202526 Jul 2025614196
820 Feb 20251 Mar 202532359.7
99 Dec 202524 Dec 202562298
1012 Aug 202625 Aug 2026212458
117 Sep 202612 Sep 2026542298
122 Mar 202614 Mar 2026623147

Showing the first 12 of 120 rows.

Measures: [Total Sales], [Target]

Product 6 rows, 4 columns
ProductIDProductCategoryPrice
1LaptopHardware899
2MonitorHardware229
3MouseAccessories19.9
4KeyboardAccessories39.9
5Office suiteSoftware149
6AntivirusSoftware49
Region 4 rows, 2 columns
RegionIDRegion
1North
2South
3West
4East
Date 730 rows, 4 columns
DateYearMonthMonthName
1 Jan 202520251Jan
2 Jan 202520251Jan
3 Jan 202520251Jan
4 Jan 202520251Jan
5 Jan 202520251Jan
6 Jan 202520251Jan
7 Jan 202520251Jan
8 Jan 202520251Jan
9 Jan 202520251Jan
10 Jan 202520251Jan
11 Jan 202520251Jan
12 Jan 202520251Jan

Showing the first 12 of 730 rows.

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

Instead of symbols in text you can also use conditional formatting: on the value in the visual, Conditional formatting, icons or background color by rules. The status measure has the advantage of also working in exports and cards.

In real Power BI

  1. Create the target measure and format it under Measure tools.
  2. Insert a KPI visual and drag [Total Sales] to Value, 'Date'[Month] to Trend axis and the target to Target.
  3. Next to it, add a table per region with sales, target and status.

Common mistakes

A fixed target in the visual

A fixed number as a target is only right for one filter. A target measure follows region, month and year.

Hard-coding the year

A target like CALCULATE([Total Sales], 'Date'[Year] = 2025) * 1.1 breaks next year. SAMEPERIODLASTYEAR always refers to the year in the filter.

FAQ

Where do targets come from that are not based on last year?

From a plan table of their own, for example loaded from Excel with Power Query and related to the model by date and region. The target measure then sums that table.

Up next: publishing and sharing

Getting the report into the service, roles for row-level security, licenses.

Next lesson

Write to us

Choose language

Select your preferred language