Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Gallery filtering

(0) ShareShare
ReportReport
Posted on by 8
Hi All 
Please help! I have created an app to write sales information of items and their approval dates to a dataverse table (using patch function not via a form). The reason I have done so, is that I require the historical submissions for the items. In order to do this, I created a column which generates a unique ID then every time I click submit in the form it will create a new row in the dataverse table (with the same unique ID) rather than modifying the existing row.
 
What I am struggling with is the gallery, if you select an item on the gallery, it prepopulates the input fields so that you can amend them as required, however, I do not want the gallery to show all of the items from the dataverse table, I only want it to show the latest submission for each unique id, except if the archive checkbox was selected for the last submission (then it should not appear at all). I would assume this would require a formula in the item section of the gallery but I have not been able to find any solution in this regard.
 
Below screenshot shows a very high-level view of the app and you can see what I am struggling with in the gallery as it shows 2 ABC submissions (date shown there is the modified date from the dataverse table). To note that there will be more inputs and will tidy up thereafter
 
Thanks for your help
 
 
 

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.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard