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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Garbo62
Helper II
Helper II

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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