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
Anonymous
Not applicable

Re-ordering Slicer Text values

Hi all,

Long story short, I have a Slicer using Text values with lots of ranges. I want to re-order the Text values so that 'Less than xxx' comes first and 'More than xxx' comes last. Any way to do that?

Martin

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

You may create an order table like below and use Sort by column.

Reference:https://community.powerbi.com/t5/Desktop/SortBy-use-as-order-by-any-int-column/m-p/663882#M319161

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

You may create an order table like below and use Sort by column.

Reference:https://community.powerbi.com/t5/Desktop/SortBy-use-as-order-by-any-int-column/m-p/663882#M319161

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks for the reply. My data did have an extra col that is linked to my big data set, where Value was for eg; 5, 15, 25 etc and the corresponding Text col similar to 'Less than 10', '10 to 19' and 'More than 20' and Order then 1,2,3. 

I thought that was working but it is not.

I hope that makes sense 🙂

Anonymous
Not applicable

FYI, I got this to work by adding an order col to my table as advised. I think the step missing in the explanation was to highlight my Slicer then select the required field in the Fields list (so it has a yellow border, not just checked), then go to the Sort by Column button and select the new 'Order' col.

Anyway, I got there in the end so thanks 🙂

 

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 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.

Top Solution Authors