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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

October NL Carousel

Fabric Community Update - October 2024

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