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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Sorting the values of a column in a matrix

12.jpg

Hello,

I made a matrix in which the column y is divided by proceeds and total costs. So, the distinction is made by the matrix. Now I think it is sorting on the alphabet.  However, I'd like to show first total costs and then proceeds. I don't know how to sort this because these values are actually one column in the data. 

Thank you in advance.

Regards,

Tom

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Bipin-Lala 

Thank you for your answer.

I eventually solved it on a different way:

I made a conditional column, with total costs = 1, proceeds = 2 (called it ranks).

Then I made this ranks column a number type. 

Then I sorted the table on the basis of the ranks column. This causes that the initally column also got sorted in the right way.

When I tried again in the matrix, I got the sequence I wanted.

 

Regards,
Tom

 

 

View solution in original post

2 REPLIES 2
Bipin-Lala
Super User
Super User

Hi @Anonymous,

 

I just wrote a solution for a very similar question a day ago. Try referring to this post.

 

Let me know if this helps, or if you have any other specific requirements!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


Regards,

Bipin Lala | Business Intelligence Developer



Anonymous
Not applicable

Hi @Bipin-Lala 

Thank you for your answer.

I eventually solved it on a different way:

I made a conditional column, with total costs = 1, proceeds = 2 (called it ranks).

Then I made this ranks column a number type. 

Then I sorted the table on the basis of the ranks column. This causes that the initally column also got sorted in the right way.

When I tried again in the matrix, I got the sequence I wanted.

 

Regards,
Tom

 

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.