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
EaglesTony
Helper V
Helper V

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
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.