Skip to main content

Notifications

Power Apps - Building Power Apps
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Display most recent (only one) record (by name) in Gallery

Posted on by

I have a sharepoint list that records/tracks peoples monthly or quarterly submissions. Each record includes items like:

- First Name

- Last Name

- Date

- City

- State

- Sum of Transactions

 

These records can be submitted monthly or quarterly, so there are a ton of records with the same names. I am filtering the gallery by combo box, dropdown, and text search and I have a sold field dropdown:

SortbyColumns(

Filter(

Search(

)))

 

All of this works perfectly. What I would like to add is a way to only show the most recent record, by name and within the last 3 months.  My hope is to be able create personal gallery.  For example: If I filter by state, I would only see one record of each person that has made a submission in the last 3 months.  Where as now it will show every record that has that state...  I don't think the Distinct( function would work but maybe the First( in combination with a hard coded filter of the date of submission being <= 90 days.

 

Any help would be appreciated.

 

  

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard