Announcements
I have two galleries, Gallery A that pulls from SharePoint List A and Gallery B that pulls from SharePoint List B. There is a text label in Gallery A, I want this text label (symbolized by the red question mark in the example provided below) to look through Gallery B for the contract number that matches the contract number in Gallery A, then look through those matching records under the Date Last Report Received column (highlighted in orange below) for the most recent date, and display the Next Report Due Date for that contract. The Next Report Due Date is a column in Gallery B. I've tried to illustrate the situation in the below two tables. What formula can I use to get the desired result highlighted in bright yellow?
Thanks,
Samantha
Hi @SamanthaLavoie ,
Try this format
First( Sort( Filter( SPListB, 'Contractor Name' = ThisItem.'Contractor Name' ), 'Date Last Report Received', SortOrder.Descending ) ).'Next Report Due Date'
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
Hi @WarrenBelz! Thanks for the quick response, that worked perfectly! 🙂
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 329 Most Valuable Professional
11manish 209 Super User 2026 Season 2
Mohsin Ali 179