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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
oluong
Helper I
Helper I

Sorting by another column for slicer February 2022 version

When we started power bi two years go, the work around for sorting by another column was to put the data field into the tooltip.  Since we upgraded to the February 2022 desktop version it appears the feature is gone.   The question is as of today how do we sort from another column in a slicer or any other visual...

 

oluong_5-1649286459379.png  I want to sort by sort order column not being used in the slicer.

 

 

I have a table of agencies the data table lists them in the order I want based on the sort order column.  

oluong_0-1649286179133.png

 

So when I add the column that I want to filter by in the slicer, the order gets all messed up.  it is reordering by the title in the agency column.

 

oluong_1-1649286263758.png  oluong_3-1649286289038.png

 

I even made sure in the Data area the table is sort by sort order column

oluong_4-1649286373795.png

 

Thank you for anyone with a solution to this.

 

2 ACCEPTED SOLUTIONS
jdbuchanan71
Super User
Super User

When you are setting up the sort in the table you are

  1. clicking on the Agency Name column,
  2. going to the sort by drop down,
  3. picking the Sort Order field from the list

jdbuchanan71_0-1649815257004.png

Also, Is your Sort Order column numbers?

 

View solution in original post

Hi jdbuchanan71,


Oh it worked following your direction.  Thank you so much.

View solution in original post

4 REPLIES 4
jdbuchanan71
Super User
Super User

When you are setting up the sort in the table you are

  1. clicking on the Agency Name column,
  2. going to the sort by drop down,
  3. picking the Sort Order field from the list

jdbuchanan71_0-1649815257004.png

Also, Is your Sort Order column numbers?

 

Hi jdbuchanan71,


Oh it worked following your direction.  Thank you so much.

jdbuchanan71
Super User
Super User

@oluong 

In your table, if you selecte the Agency Name column you can set the 'sort by column' property and change it to the 'sort order column'

jdbuchanan71_0-1649288102544.png

Then it should appear in the correct order in the slicer.

jdbuchanan71_1-1649288139550.png

 

 

Unfortunately, i have try doing that over and over.  It doesn't work which is why i'm so confused.  The begining of the list seems to be in order after that it doesn't.  See picture below:

 

oluong_0-1649795822965.png

Table is sorted by the sorted column they way I wanted.

oluong_1-1649795886520.png

When it displayed in the slicer it ignores the setting and goes back to ABC order.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.