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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.