Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Subtract Available Seat

Hi guys,

I'm struggling to subtract the seat. I have built 2 SharePoint lists. 

List A

  • Flight Name (Text)
  • Available Seat (num)


List B

  • Flight Name (text)
  • Total Seat Reserved (num)

On the PowerApps 

Screen 1: Gallery 

Datasource: List A


Screen 2: Form

Datasource: List B

Field: Seat Reserved input 


How do I subtract the available seat from the gallery I selected? when I submit the form the number will change in the List A


For instance:

Available Seat = 5 

Seat entered = 2

Remaining seats 3



Community Champion
Community Champion

I wonder if two lists are creating some confusion for you in this situation? If I were attacking this problem, I would create a single list called Seats with the following columns:




Status (which can be blank, Reserved, or Unavailable)

...and other handy info like flight date, seat class, passenger name, etc.


Then, I would use a Filter to display seats that are not Reserved status on the flight, meaning they could be reserved by a customer. I could also use a Countrows on a Filter of 'blank' Status to know how many seats are left on that flight.


Or, is there more to your situation that makes it more complicated?



Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,579)