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
Anonymous
Not applicable

Dynamic ranking by sorted column

Hello!

 

Let's say I've such table visual which is ranked by Volumes according formula Rank = RANKX(ALL(Organisations[Organisation]);[Volumes];;DESC;Dense)

 

For example I want to sort Revenue column from largest to smallest value and rank it accordingly. How can I do it?

 

p.s. Volumes/Revenue/CM are measures.

 

RankOrganisationVolumesRevenueCM
1Company13443.020 €218 €
2Company3421.245 €320 €
3Company11363.193 €111 €
4Company6303.574 €474 €
5Company10254.685 €242 €
6Company8231.161 €424 €
7Company14222.220 €166 €
8Company4212.089 €162 €
9Company9212.461 €289 €
10Company2193.597 €308 €
11Company1134.468 €358 €
12Company5131.199 €391 €
13Company12134.454 €263 €
14Company721.883 €130 €
1 ACCEPTED SOLUTION
Anonymous
Not applicable
2 REPLIES 2
TomMartens
Super User
Super User

Hey,
I'm wondering if I understand correctly, but why not create just another measure like so:

Rank Revenue= RANKX(ALL(Organisations[Organisation]);[Revenue];;DESC;Dense)

Regards,

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

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.