Short answer: a pie chart shows how a whole splits into parts: each slice is a category's share of the total. It works when there are two to five slices, the parts really add up to a whole, and the question is "roughly what share?". Put the category in Legend and one measure in Values; turn on detail labels with the percentage. For exact comparisons or more than five categories, a sorted bar chart is easier to read.
The chart, part by part: What is a pie chart? draws its parts and shows how to read one, its kinds and the mistakes to avoid.
Pie charts have a bad name among chart experts because angles are hard to compare. That is true for twelve slices of similar size. For "how much of our revenue comes from bikes?" with four categories, a pie answers in a second.
The short video below shows the four rules for a pie chart people can read at a glance, and the one check that tells you whether a pie is the right chart at all.
When does a pie chart work?
Anyone sees that bikes are about two thirds. Now the same chart with eight regions of nearly equal size would only say "about equal", and nobody could tell which is third.
| The data | Chart |
|---|---|
| 2 to 5 parts of one whole, one or two big | pie or donut |
| More than 5 parts | bar chart, sorted |
| Parts that are close in size | bar chart (lengths are easier to compare than angles) |
| Shares changing over time | 100% stacked column or area |
| Values that do not add up to a whole (averages, rates) | not a pie at all |
| Parts within parts | treemap |
How do you build one?
- In Visualizations pick Pie chart.
- Drag the measure to Values and the category to Legend. An optional Details field splits each slice further, and the chart drills from the legend level into the details.
- In Format visual, open Detail labels: set Label contents to category, data value, percent of total or a mix, and the position inside or outside.
- Sort the slices by value (More options (...), Sort axis, by the measure, descending), so the biggest starts at the top and the rest follow clockwise.
- Pick distinct colours per slice under Slices; keep one strong colour for the slice the page is about and calmer ones for the rest.
How do you group small slices into "Other"?
A pie with three big slices and nine tiny ones is unreadable. Group the small ones with a calculated column on the Product table:
Category Group =
VAR CategorySales = CALCULATE ( [Revenue], ALLEXCEPT ( 'Product', 'Product'[Category] ) )
VAR TotalSales = CALCULATE ( [Revenue], REMOVEFILTERS ( 'Product' ) )
RETURN
IF ( DIVIDE ( CategorySales, TotalSales ) >= 0.05, 'Product'[Category], "Other" )CALCULATE turns the product row into a filter (context transition), and ALLEXCEPT widens it to the row's whole category, so every product gets its category's revenue. Categories under 5% of the total become "Other"; use Category Group in the Legend. This is fixed at refresh time: a column does not react to slicers. For a version that reacts, rank the categories in a measure and use a disconnected table with an "Other" row, as in TOPN in DAX.
The share itself, for a tooltip or a table next to the pie:
Share of Total =
DIVIDE ( [Revenue], CALCULATE ( [Revenue], REMOVEFILTERS ( 'Product'[Category] ) ) )| Category | Revenue | Share of Total |
|---|---|---|
| Bikes | 620 K | 62% |
| Accessories | 180 K | 18% |
| Clothing | 120 K | 12% |
| Components | 80 K | 8% |
| Total | 1,000 K | 100% |
Pie or donut?
The same chart with a hole. A donut chart can show the total or another number in the centre (Power BI's Center value, for donuts only); a pie cannot. With a label in the middle, the donut usually wins; without one, they are equal.
What goes wrong?
- Too many slices. Past five, readers compare colours with the legend instead of reading the chart. Group into "Other" or use bars.
- Parts that are not a whole. Averages, rates or numbers that overlap (customers who bought several categories counted in each) do not add up to 100%, so a pie lies.
- Negative values. A slice cannot be negative; a category with returns larger than sales disappears silently.
- Two pies to compare. Two pies next to each other ("2025" and "2026") are almost impossible to compare slice by slice. Use a 100% stacked bar with one bar per year.
- 3D and exploded slices. Power BI does not offer them, and custom visuals that do distort the angles.
Where can you check this?
- Microsoft Learn: Create and use pie and donut charts in Power BI
- Microsoft Learn: Visualization types in Power BI
- Microsoft Learn: REMOVEFILTERS function (DAX)
Where do you start?
Use a pie for two to five parts of a real whole, sorted, with percentages on the slices. When the answer needs precision, switch to a bar chart; when it needs a total in the middle, the donut chart.