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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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.