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

View all the Fabric Data Days sessions on demand. View schedule

Reply
ssk_1984
Helper II
Helper II

Custom Sort Row Header in Matrix visuals

HI Team,

 

Please help to custom sort the Category Column in the Matrix, here i have only manual sort. I dont want that, rather it should sort values by the below order

>100% as 1st order, 75% to 100% in 2 order and third would be <75%

ssk_1984_0-1738333846218.png

Thanks in Advance

 

2 ACCEPTED SOLUTIONS
Syndicate_Admin
Administrator
Administrator

Hello
I don't know if it's the best solution, what I think you could do is a column from 1 to 3, assigning the values to each one, that is:

aa = if ( category = 0.75 , 1 , if ( category > 1 , 2 , if ( category < 0.75 , 3)))

and then you sort the column according to that

PVVBl00_0-1738334370684.png


I clarify that I am not the one who knows the most, but it can be a band-aid solution while you find something better

Best regards

View solution in original post

Anonymous
Not applicable

Hi @ssk_1984 ,

Thanks for PVVBl00's reply!
And @ssk_1984 , you can add another simple table:

vjunyantmsft_0-1738547933033.png

Create relationship between two tables:

vjunyantmsft_1-1738547959747.png

And in the new table:

vjunyantmsft_2-1738548029038.png


Then replace the Category under Rows in your existing matrix visual object with the Category in the new table and sort it, and the final output is as below:

vjunyantmsft_3-1738548119729.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

Hello
I don't know if it's the best solution, what I think you could do is a column from 1 to 3, assigning the values to each one, that is:

aa = if ( category = 0.75 , 1 , if ( category > 1 , 2 , if ( category < 0.75 , 3)))

and then you sort the column according to that

PVVBl00_0-1738334370684.png


I clarify that I am not the one who knows the most, but it can be a band-aid solution while you find something better

Best regards

Thank you for your solution, I have tried multiple option to sort this Row values'Category'...But nothing works

Anonymous
Not applicable

Hi @ssk_1984 ,

Thanks for PVVBl00's reply!
And @ssk_1984 , you can add another simple table:

vjunyantmsft_0-1738547933033.png

Create relationship between two tables:

vjunyantmsft_1-1738547959747.png

And in the new table:

vjunyantmsft_2-1738548029038.png


Then replace the Category under Rows in your existing matrix visual object with the Category in the new table and sort it, and the final output is as below:

vjunyantmsft_3-1738548119729.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you, Working fine

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors