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 / Number inputs and Gall...
Power Apps
Unanswered

Number inputs and Galleries/Tables

(0) ShareShare
ReportReport
Posted on by

I have a Excel powered Gallery which displays a list of equipment,
The table has an InputSelector which then shows on every row of equipment,
The aim is that the user sets the value of the number to the equipment and amount they want and submit it which creates a request and submits that request as a table to the excel sheet.

This works if user only wants 1 type of equipment,
However if more that 1 row of equipment has an Input number of greater than 0, aka the user wants it, Only the first selected equipment is stored.
So if user selects Laptop by changing the input number to 1 and also a Charger by changing the input number to 1. Only the laptop is added to the request.

Here is the code i have or the submit form.

 

 

Patch(
 SelectedTable,
 Defaults(SelectedTable),
 {
 DateTime: CurrentDateTime,
 Ticket: Text(TextInput_Ticket.Value),
 Equipment: If(
 IsError('Stock table'.Selected.Equipment),
 "",
 Text('Stock table'.Selected.Equipment.Text)
 ),
 Quantity: NumberInput_Equipment.Value,
 Requester: "",
 Fulfilled: "No"
 }
);

 

 

I've been unable to find any way to iterate through all the columns, i seem to be having issues with the fact its technically 1 NumberInput, but it shows on each row and can be modified independently.
Ive tried CoPilot and ChatGPT but I've hit a brick wall.

Any help is appreciated, sorry 

Categories:
  • Giraldoj Profile Picture
    1,007 Super User 2026 Season 2 on at

    To achieve this you will have to add a checkbox control to your gallery, and inside the checkbox control add a Collect(ItemCollection, Gallery.Selected)

    Giraldoj_0-1718651472284.png
    then at the end you will have a colection with all the items and their current values so you can run the patch function inside a ForAll an update the datasoruce.

    Remember to also remove the items from the colection in the uncheck property.

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 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard