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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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