Short answer: a ribbon chart is a stacked column chart that sorts each column by value, largest on top, and joins the same category across columns with a ribbon. It answers "who is number one in each period, and when did the order change?" It needs a time field on the X-axis, a category in Legend and a measure on the Y-axis. It has no Y-axis labels, so turn on data labels when the numbers matter.
The chart, part by part: What is a ribbon chart? draws its parts and shows how to read one, its kinds and the mistakes to avoid.
A stacked column chart keeps the series in one fixed order, so a category that climbs from fourth to first is hard to spot. In a ribbon chart the climbing ribbon crosses the others: the change of rank is the picture.
What does a ribbon chart look like?
Monthly sales of three product lines. Alpha leads in January, Beta takes over in February and March, and Gamma ends on top in April:
- Alpha
- Beta
- Gamma
The same numbers as a stacked column chart always show Alpha at the bottom, Beta in the middle and Gamma on top, whatever their size: the overtaking is there, but nobody sees it.
When is it the right chart?
| The question | Chart |
|---|---|
| Who leads in each period, and when does the order change? | ribbon chart |
| How does each category trend over time? | line chart |
| What is the total, and what is it made of? | stacked column chart |
| How has the mix changed? | 100% stacked column or area |
It works best with three to seven categories and up to about twelve periods. With more, the ribbons cross so often that the chart turns into a tangle.
How do you build one?
- In Visualizations pick Ribbon chart.
- Drag the date (or month) to X-axis, the category to Legend and the measure to Y-axis. With a date hierarchy, keep only the level you need, for example Month.
- In Format visual, turn on Data labels (the chart has no Y-axis labels) and set display units, for example thousands.
- Under the ribbon settings: Spacing sets the space between ribbons as a percentage of the column's height, Match series color colours the ribbons like their series (off makes them grey), Transparency is 30 by default, and Border draws a dark edge above and below each ribbon.
How do you show the rank as a number?
The ribbon shows the order, a measure can say it. In a tooltip or a table next to the chart:
Line Rank in Month =
RANKX (
ALLSELECTED ( 'Product'[Product Line] ),
[Sales Amount],
,
DESC,
DENSE
)With the month on rows and the product line on columns, this returns:
| Month | Alpha | Beta | Gamma |
|---|---|---|---|
| Jan | 1 | 2 | 3 |
| Feb | 2 | 1 | 3 |
| Mar | 3 | 1 | 2 |
| Apr | 3 | 2 | 1 |
A measure for "moved up since last month" compares the rank with the previous month's:
Rank Change =
VAR ThisMonth = [Line Rank in Month]
VAR LastMonth = CALCULATE ( [Line Rank in Month], DATEADD ( 'Date'[Date], -1, MONTH ) )
RETURN IF ( NOT ISBLANK ( LastMonth ), LastMonth - ThisMonth )A positive Rank Change means the line climbed. Put it in the tooltip of the ribbon chart (Tooltips well) and hovering a ribbon says how far it moved.
What goes wrong?
- Too many categories. Ten ribbons crossing twelve times is not readable. Keep the top five and group the rest, or filter to a Top N.
- No data labels. Without a Y-axis, nobody knows whether first place means 30 or 3,000.
- Reading thickness as change. A ribbon's thickness between columns is drawn to join two values; read the columns, not the ribbon's slope.
- A category that disappears. A category with no value in a period has no block there; its ribbon breaks. That is right, but explain it if it surprises readers.
Where can you check this?
- Microsoft Learn: Create ribbon charts in Power BI
- Microsoft Learn: RANKX function (DAX)
- Microsoft Learn: DATEADD function (DAX)
Where do you start?
Use a ribbon chart when the order matters more than the trend, keep it to a handful of categories and turn on data labels. Column charts cover the stacked chart it grew from, and RANKX in DAX explains the rank measure.