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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
EaglesTony
Post Prodigy
Post Prodigy

How do I sort a slicer based on another column

I have a table that contains the following:

 

Version Name

Version Start Date

 

I have a slicer with Version Name mapped to it to show in the slicer

 

Here is sample data:

 

Version Name      Version Start Date

CM_Apr_2022      03/16/2022

CM_Apr_2023      04/14/2023

CM_Ap22_2022   04/13/2022

CM_Mar_2024     03/01/2024

 

How I want to show this is based on Version Start Date desc, so it would show in the slicer as:

CM_Mar_2024 

CM_Apr_2023 

CM_Ap22_2022

CM_Apr_2022

 

I did do the sort on the Start Date first, but still not in this order.

 

Also, as a bonus it would be nice to show both fields in the slicer.

 

Thank you

 

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

Hello! You have to set the Sort By order in the Column Tools ribbon: Sort one column by another column in Power BI - Power BI | Microsoft Learn

In this case, you would sort Version Name by Version Date in descending order.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
audreygerred
Super User
Super User

Hello! You have to set the Sort By order in the Column Tools ribbon: Sort one column by another column in Power BI - Power BI | Microsoft Learn

In this case, you would sort Version Name by Version Date in descending order.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.