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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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)
Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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)
Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.