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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Raghu561
New Member

How to sort the rows in the mettrix by Measure values.

Hi I am looking to sort the rows based on the rank values. i tried different methods suggested but not sure how to do a work around.

so..

I have a matrix visual has below 

Raghu561_2-1684665959085.png

rank by terrritory is measure based on the territory % value, it ranks the values from 100% to down.
rank by terrritory is working fine but i need the rank values to be sorted in Asc how can i do that.


I created a Metrix based on the multiple measures in a single measure

Raghu561_3-1684666319207.png

Metrix in rows and Columns in the Columns shelf are comming from the Custome table(MetrixTable) where the metris=x names and rowIDs are presenst
MetrixTable

Raghu561_4-1684666535239.png

 

and the "ALL Measure" is a measure where all the measures plased based on the Row ID of a Matrix table with a switch function like 

 

Switch(

True(),

SELECTEDVALUE('Table'[Row ID ]) = 1,[RankByTerritory]

SELECTEDVALUE('Table'[Row ID ]) = 2,[Territory]
.........)

how can i sort the rank value in the metrix.....?

Please respond

 

 

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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