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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.