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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
L_K_
Helper I
Helper I

Get latest date from one column based on a value from another column.

Hello,

 

I need some help to get the latest date from one column based on a value from another column.

 

let's say I have a table like this:

ID_NAMENAMEDATE_1 (day.month.year)DATE_2 (day.month.year)
1Anna1.2.20205.8.2020
1Anna6.8.202119.1.2022
1Anna20.1.2022 
2Bill7.4.202231.12.2022
2Bill1.1.2023 
3Jason22.5.20197.9.2020
3Jason8.9.202029.12.2020
3Jason30.12.20204.10.2022
3Jason5.10.2022 
4Chloe17.10.202217.10.2023

 

Now I need to make a measure or filter or something that will single out the latest date (DATE_1) for every person (ID_NAME). 

My table/visual would then look like this:

ID_NAMENAMEDATE_1 (day.month.year)DATE_2 (day.month.year)
1Anna20.1.2022 
2Bill1.1.2023 
3Jason5.10.2022 
4Chloe17.10.202217.10.2023

 

How can I achieve this? Please and thank you!

 

Kind regards,

L

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@L_K_ , Try if these logics can help

 

https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0

https://amitchandak.medium.com/power-bi-get-the-sum-of-the-last-latest-value-of-a-category-f1c839ee8...

Share with Power BI Enthusiasts: 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

2 REPLIES 2
amitchandak
Super User
Super User

@L_K_ , Try if these logics can help

 

https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0

https://amitchandak.medium.com/power-bi-get-the-sum-of-the-last-latest-value-of-a-category-f1c839ee8...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you so much @amitchandak !

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.