Reply
lkalawski
Super User
Super User
Partially syndicated - Outbound

Matrix sorting based on the tooltip

Hi!

Case:
I have a matrix that has two levels of data in columns and two in rows. And for this I have a measure as Value.

 

Problem:
How do you sort rows based on another measure that doesn't appear in Value? In other visualizations (bar chart etc.) you can use the tooltip and sort. In the matrix, unfortunately, there is no such option.

 

Has anyone had a similar problem?

 

Thank you in advance.

 

BR

1 ACCEPTED SOLUTION

Syndicated - Outbound

@lkalawski 

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/Matrix-Add-some-blanks-Column-to-separate-2-measures/m-p/88...

 

Community Support Team _ Sam Zha
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

5 REPLIES 5
baghdadi62
Resolver III
Resolver III

Syndicated - Outbound

Another way is to add sort measure to the matrix and sort by it. And finally hide the column by just dragging the column width to be very small.

Syndicated - Outbound

@baghdadi62 wrote:

Another way is to add sort measure to the matrix and sort by it. And finally hide the column by just dragging the column width to be very small.


Unfortunately, I can't do this because I have two levels of data in columns and rows, and for each additional column will be added containing values for this measure and I would have to hide all columns every time.

 

Example2.png

Unfortunately, after adding a new measure it looks like this. And I'd like to sort the rows based on Sum of Sales Amount for Total, so that you can't see Sum of Sales Amount.Example3.png

Syndicated - Outbound

@lkalawski 

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/Matrix-Add-some-blanks-Column-to-separate-2-measures/m-p/88...

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
baghdadi62
Resolver III
Resolver III

Syndicated - Outbound

Hi,

in the matrix you cannot sort columns or rows by measures. But you can use sort by column. consider that only column can use in Sort by Column:

Suppose we want to sort month column.Suppose we want to sort month column.

Syndicated - Outbound

baghdadi62, I can sort in PBI based on the measure I use in the matrix. But I can't find a way to sort based on another measure (which can be added in a tooltip, e.g. a bar chart).Example.png

 

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)