This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I need to order my Stacked column chart by the sum of a category in a field and not the count of lines.
For example:
I do have 139 issues for GM being 2 of them as red impact
and I have 114 for Risk, being 8 as red impact
I need the Risk group be the first one in the chart instead of the GM.
Someone knows how to help?
Solved! Go to Solution.
Sounds like you just want to sort it by the sum of "Red". You'll notice my legend is not sorted the ways yours is, but this should still work for you.
See attached .pbix file for an implemented solution.
Create a measure like this:
Then sort the visual by that measure, descending.
A potentially unwanted side effect is that when you hover on a column, the measure value "Red" value will show up.
///Mediocre Power BI Advice, but it's free///
Sounds like you just want to sort it by the sum of "Red". You'll notice my legend is not sorted the ways yours is, but this should still work for you.
See attached .pbix file for an implemented solution.
Create a measure like this:
Then sort the visual by that measure, descending.
A potentially unwanted side effect is that when you hover on a column, the measure value "Red" value will show up.
///Mediocre Power BI Advice, but it's free///
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 35 | |
| 34 | |
| 24 | |
| 24 |