Announcements
To get the latest (most recently updated) record from your SharePoint list, LookUp alone is not sufficient because it does not guarantee ordering — it simply returns the first matching record.
LookUp
You need to explicitly sort the records by your date column in descending order and then take the first one.
Here is the correct approach:
First( Sort( Filter( 'Work Progress Tracker - Revised Target Date', WTTrackerNumber = ThisItem.ID ), 'Revised Date', Descending ) ).'Revised Date'
Filter(...)
WTTrackerNumber
Sort(..., 'Revised Date', Descending)
First(...)
.'Revised Date'
With( { latestRecord: First( Sort( Filter( 'Work Progress Tracker - Revised Target Date', WTTrackerNumber = ThisItem.ID ), 'Revised Date', Descending ) ) }, latestRecord.'Revised Date' )
This ensures you always retrieve the most recently updated date for the given record.
If this solution solved your issue, please consider marking it as the correct answer so others can benefit as well.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290