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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

v-kongfanf-msft
Community Support
Community Support

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
v-kongfanf-msft
Community Support
Community Support

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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