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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Garbo62
Resolver I
Resolver I

Add a custom sort to a Power Bi Slicer

I have a table with a list of floors descriptions and their sort order, which is sorting by description

Garbo62_0-1710268123453.png

How do I sort the slicer (old style) by LFlorSort and  not description (LFLorDesc)

Garbo62_1-1710268194738.png

I have set the table to sort by LFlorSort and works fine in tables, just not Sllicers

 

2 ACCEPTED SOLUTIONS
mh2587
Super User
Super User

Give a unique number for every field value then you can sort it


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



View solution in original post

Anonymous
Not applicable

Hi @Garbo62 ,

 

You can specify that the LFLorDesc field is sorted based on LFlorSort.

vkongfanfmsft_0-1711441959226.png

vkongfanfmsft_1-1711442036420.png

 

Best Regards,
Adamk Kong

 

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

4 REPLIES 4
Anonymous
Not applicable

Hi @Garbo62 ,

 

You can specify that the LFLorDesc field is sorted based on LFlorSort.

vkongfanfmsft_0-1711441959226.png

vkongfanfmsft_1-1711442036420.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks f & Sorry for the late reply

mh2587
Super User
Super User

Give a unique number for every field value then you can sort it


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Do you mean just have a table with the numbers -2,-1,0,1,2,3,4........... linked to the floor list.

As at preesent all the Ground floors in the portfolio have a sort of 0 and all the first floors have a sort of 1

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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