Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
caique_aquatico
New Member

Order a graph by dynamic measures

Hello guys,

So, I have some graphs using dynamic measures, but I want to order these graphs always by the dynamic measure and not by the y-axis

Summarizing, I want to be like this, with the x-axis going from 1 to 7:

caique_aquatico_0-1697029179595.png

 

But everytime I change the measure, to "Regiao", for example, and I get back to "Renda" the graph order by "total operations", my y-axis

Can I always order by the dynamic x-axis measure in Power BI?

2 REPLIES 2
christinepayton
Super User
Super User

You're using field parameters, right? The only way I've found to do this is a janky workaround involving bookmarks. Here's a video on how it works (it's in the second half): https://youtu.be/Nt3QgZrJXfY

amitchandak
Super User
Super User

@caique_aquatico , Create a measure on which you want sort the axis and use that on tooltip and use that as sort column.

 

Ideally, measure sort works well, not the axis sort. But you can try this solution in case of measure too

Power BI Field Parameters, Keep Axis Sort intact| Always Sort on X-Axis/Categorial Axis: https://youtu.be/GfBrB6czByw

 

Modify it work for measure in your case

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.