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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
2 REPLIES 2

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.