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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
rafaelcosta
New Member

Sorting y axis ascending when using parameter measures

Hello dear Power BI Community.

I'm using a bar chart where the x axis is a regular field and y axis is a field parameter with 3 measures that I can switch with a slicer:

rafaelcosta_0-1693318794596.png

rafaelcosta_1-1693318849756.png

The default sort order of all measures is descending, but i want they to be ascending. When I set the to ascending using the 3 dots on the chart, it works fine. But if I switch to another measure it resets to descending again. Is this a bug? There is any workaround for sorting dynamically all measures?

I appreciate any help!

4 REPLIES 4
trevrobwhite2
Advocate II
Advocate II

Did you ever work out a solution to this?

gavexe
Frequent Visitor

There is a hint exists. Add static but relevant object into Tooltips and sort by it. It won't reset.

mh2587
Super User
Super User

You should create a sorting column for the x-axis labeled and then put the desired numbers against each label in the new column after that click on sort by column and then select the product column and sort it with the new calculated column


✔ Answered? Mark as solution

Muhammad Hasnain | Super User • Fabric • Power BI • Data Engineering

Let's connect on LinkedIn

Hi @mh2587, thanks for the tip but that will work for the x-axis only. I want the y-axis asceding for all measures inside the field parameters.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.