web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery Patch betwwen ...
Power Apps
Answered

Gallery Patch betwwen two SP lists

(0) ShareShare
ReportReport
Posted on by

Hello,

 

got gallery connected to SP list "Events Registration Log". In list is column "Event ID". This column is visible in Gallery. And I have button in Gallery "Unregister". I want to set "OnSelect" property to increment 1 to column "Remaining Seats" in SP list "Events".

 

Connector between both SP lists is column "Event ID". This column is calculated = Title + ID

Column "Remaining Seats" is Calculated = Max. Seats - Filled Seats. 

 

So far I've been trying to Patch like this:

 

 

Patch(Events,First(Filter(Events,Events.'Event ID' = ThisItem.'Event ID')),{ 'Remaining Seats': Value('Remaining Seats') +1})

 

 

Thank you for help.

 

 

Categories:
  • Verified answer
    zaphod88 Profile Picture
    502 on at

    AFAIK you can't patch a calculated column. Why don't you try patching 'Filled Seats' instead?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard