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
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.