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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Artie
Frequent Visitor

Sort Matrix visual based on specific criteria

Hi there,

I created a matrix to summarize the slow moving inventory, historical sales and current inventory. In order to make it more "dynamic" (hide/show columns based on the applied slicers), I categorized the data into Elements and Sub-Elements.  It went fine until I wanted to sort it by the total slow moving (inventory with more than 6 months aging, which is the addition of two subcategories: 6-11 months plus 12 or more months). 

I tried adding the rank to the matrix rows but it does not accept measures.  I can not use rank in Matrix' "sort by" nor in the column's "sort by". I tired to add the rank field to the values section but I can not hide it.

Any clue?

Thanks!

Annotation 2020-05-05 200618.png

 

4 REPLIES 4
v-yuta-msft
Community Support
Community Support

@Artie ,

 

Have you added the measure to the value field? You can click ellipse on the right-top hand of the matrix visual and then select sort by Measure.

Capture.PNG 

 

Community Support Team _ Jimmy Tao

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

Hi @v-yuta-msft ,

Yes, I tried, but it does not sort the information from the largest to lowest slow moving since the same measure cumputes the addition of the slow moving, the inventory and sales history.

Thanks.

amitchandak
Super User
Super User

@Artie 

Prefer to Create a common table element and subelement and have the sort order defined for them, it may be based or rank or logic. Mark sort column for element and sub-element and then use in Matrix

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

sanimesa
Post Prodigy
Post Prodigy

@ArtieYou should be able to sort by a measure, if you can, please post some screenshots from your actual implementation and the measures you are using.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors