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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Garbo62
Helper III
Helper III

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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