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,
is there a way to sort simultaneously legend and the x axis of 100% stacked bar chart when building on live database?
I've read on how to sort the legend with the switch and push method but when you build the visual on a live database there is no option as sort by column. Same for the axis. I could create the switch function, where I set the order for each category but then there's no way to sort by that order column.
Is there any other way or the only option is to create the order column / table in the live database?
Thank you
What version is that, mine does not have that function.
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!