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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
GAPER
Post Patron
Post Patron

How do I sort by a specfic columns in values in a matrix

GAPER_0-1739171551741.png

 

for example if i want to sort the rows by the Asset Growth Column. How do I do that? Now only the total can be sorted. 

 

Thanks. 

 

6 REPLIES 6
audreygerred
Super User
Super User

Do you have a dimension in your columns and then one measure in your values? If so, that is why you can only sort by total. If you create an explicit measure for each item that is showing in your columns, then add each one into values with nothing in columns, you can sort by whichever measure you want.





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

Proud to be a Super User!





MFelix
Super User
Super User

Hi @GAPER 

 

This depends on how you have your matrix setup if the values on the columns is a column value that you added so you have different "categories" you cannot due the sorting based on that value since that specific column is a characterist. I assume this is your case where you are using a column from a table in your matrix visualization.

 

However if each of the columns are individual values (measures) then you can do the sorting exactly how you do it in a normal table.

 

To solve you issue you would need to create a measure for each individual value.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



GAPER_0-1739236827755.png

However if i make it as individual measures i lose the capability of having it to groupped together. And for model maintenance. I will need to be adding measures whenever there's new measuires coming in. 

Anonymous
Not applicable

Hi @GAPER ,

Maybe replace the value of the 'Total' column with the value of 'Asset Growth'? That would eliminate the need to create multiple measures.

Something like this

vzhouwenmsft_0-1739498386690.png

 

Best Regards

Hi @GAPER ,

 

Not sure what you mean by keeping it grouped together, but the second part you are correct. This is the way the default matrix visual works, maybe you can check if a custom visual can have any of that option for you, but with the current one unfortunatly these are the two options.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Joe_Barry
Super User
Super User

Hi @GAPER 

 

Have you tried clicking on the column mame, this should sort it, from high to low, but it will only sort by tat column, if you want to sort on multiple columns, hold shift button and choose the columns you want to sort on

 

Joe




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

Proud to be a Super User!





Learn about the Star Schema, it will solve many issues in Power BI!

Date tables help! Learn more



LinkedIn
Let's connect on LinkedIn


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.