cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ClaytonMUK Frequent Visitor
Frequent Visitor

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

Accepted Solutions
v-cherch-msft Super Contributor
Super Contributor

Re: Re-ordering Slicer Text values

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 Super Contributor
Super Contributor

Re: Re-ordering Slicer Text values

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

Highlighted
ClaytonMUK Frequent Visitor
Frequent Visitor

Re: Re-ordering Slicer Text values

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 🙂

ClaytonMUK Frequent Visitor
Frequent Visitor

Re: Re-ordering Slicer Text values

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
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 293 members 2,577 guests
Please welcome our newest community members: