Short answer: a donut chart is a pie chart with a hollow centre. It reads the same way (each ring segment is a share of the whole) and follows the same rule: two to five segments. What it adds is the centre: Power BI's Center value shows the total of the charted values in the middle, or any measure you pick, with its own label, format and background. A donut with one segment and a grey rest also makes a simple progress ring.
The chart, part by part: What is a donut chart? draws its parts and shows how to read one, its kinds and the mistakes to avoid.
The pie's weakness is that the reader has to look for the total somewhere else. The donut puts it where the eye already is.
What does a donut chart look like?
Online is more than half, and the centre says of what: 1,000 thousand.
How do you add the center value?
- Build the donut: Visualizations, Donut chart, the measure in Values, the category in Legend.
- In Format visual, on the Visual tab, turn on Center value. The donut shows the total of the charted values in the middle.
- Format it: value format and display units (K, M, B), font, an optional Label above or below the value (by default the measure's name), an Image above or below, and a Background colour or picture.
- To show something other than the total, use Value, Field, Add data and pick a measure.
The center value is for donut charts only; pie charts do not have it. It follows the report: filtering, cross-highlighting, drilling and selecting a segment all update it.
What measure belongs in the centre?
The total is the default. Often a more useful number is the share of the most important segment, or a change:
Online Share =
DIVIDE (
CALCULATE ( [Revenue], Channels[Channel] = "Online shop" ),
CALCULATE ( [Revenue], REMOVEFILTERS ( Channels[Channel] ) )
)
Revenue vs LY =
DIVIDE ( [Revenue] - [Revenue LY], [Revenue LY] )With Online Share in the centre (54%), the donut reads as "online is 54% of our revenue", with the split around it.
How do you make a progress ring?
A donut with two segments, "Done" and "To go", becomes a progress ring for a target. It needs a tiny table with the two labels and a measure that returns the right amount for each:
Progress Parts =
DATATABLE ( "Part", STRING, "Order", INTEGER, { { "Done", 1 }, { "To go", 2 } } )
Progress Value =
VAR Done = [Revenue]
VAR ToGo = MAX ( [Revenue Target] - Done, 0 )
RETURN
SWITCH ( SELECTEDVALUE ( 'Progress Parts'[Part] ), "Done", Done, "To go", ToGo )Put Progress Parts[Part] in Legend and Progress Value in Values, colour "To go" grey, and show DIVIDE ( [Revenue], [Revenue Target] ) as the center value:
When the target is beaten, To go is 0 and the ring is full. For a progress number with more context (a target needle, minimum and maximum), the gauge is built for it.
What goes wrong?
- More than five segments. The ring makes small segments even thinner than pie slices. Group into "Other" or use a bar chart.
- A centre that says something else. A total in the middle of a chart filtered to one region must be that region's total; check the measure follows the same filters.
- Values that are not a whole. As with pies: no averages, no rates, no overlapping counts in the segments.
- Several donuts to compare periods. Use a 100% stacked bar instead; rings next to each other cannot be compared.
Where can you check this?
- Microsoft Learn: Create and use pie and donut charts in Power BI
- Microsoft Learn: DIVIDE function (DAX)
- Microsoft Learn: SWITCH function (DAX)
Where do you start?
Use a donut instead of a pie whenever a number belongs in the middle, and pick that number on purpose. The pie chart post covers slices, labels and the "Other" group in detail.