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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
magji
Helper I
Helper I

Sort Column by another Column

I have a dataset like below:|

Project Category Rank
Proj1A1
Proj1B2
Proj1C3
Proj2C1
Proj2A2
Proj2B3

 

I will need to put two Slicers:

Slicer 1: Project

Slicer 2 Category 


I Will need to Sort the Category column by Rank column so the values in Category Slicer appear in correct order.

If Proj1 is selected the Category slicer order should be A , B, C.

If Proj2 is selected the Category slicer order should be C, A, B.

If I try to sort the Category by Rank column, I get an error since we have multiple Rank values for the same Category.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @magji ,

The way I can think of is to split the table by project, create two slicers, and use the bookmark + button to control the visibility of the two slicers.

vcgaomsft_0-1667965003000.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @magji ,

The way I can think of is to split the table by project, create two slicers, and use the bookmark + button to control the visibility of the two slicers.

vcgaomsft_0-1667965003000.png

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1667933218910.png


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Hi @Jihwan_Kim.
Also the table in the left should be a Slicer.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors