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
johnmelbourne
Helper V
Helper V

Row context? Players names with the youngest age by country (pbix link added)

I am trying to calculate the youngest player in each country.

Attached is my pbix: https://drive.google.com/file/d/1ORDN26jH406gaFc7tiFoHi83Ye7fBwhq/view?usp=sharing 

 

I want a solution like:

 

johnmelbourne_0-1669364345785.png

 

So something like : 

 

result4.png

any assistance would be appreciated. I would appreciate comments in any solution please so I can understand rather than copy and paste.

 

Kind regards

John

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@johnmelbourne , Create a new column (rank) like this and filter that for 1

 

Column = Rankx(FILTER('Data_transfers_22-23', [Country Moving to] = EARLIER([Country Moving to]) ), [Player Age],,ASC,Dense)

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@johnmelbourne , Create a new column (rank) like this and filter that for 1

 

Column = Rankx(FILTER('Data_transfers_22-23', [Country Moving to] = EARLIER([Country Moving to]) ), [Player Age],,ASC,Dense)

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