Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello All,
I've been facing a problem on my data visualisation, i'm trying to make a decreasing cumulative bar chart with a legend.
Without legend, the result seems fine according to my data :
With my legend, it's going sideways :
My measure to cumulate is :
Cumulate =
CALCULATE(
SUM(datatest[(t)]),
FILTER(ALLEXCEPT(datatest, datatest[classif]),
MIN(datatest[grade_class]) <= datatest[grade_class]))
Hi @Pacotille
After testing, when you add the legend, it cannot change the sort, so the best way is to move the legend.
Or you can add an index column in power query,then sort by the order column
You can refer to the following link.
Solved: Sort by legend on stacked bar chart - Microsoft Fabric Community
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey,
Thank you for your answer, but i'm a bit lost here. I just want to display my decreasing cumulative chart which all the [classif] in each bar. How these solutions could help me ?
I've tried the solutions in your link but nothing seems to work
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!