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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ClaytonMUK
Helper I
Helper I

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

Hi @ClaytonMUK 

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

Hi @ClaytonMUK 

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.

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 🙂

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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