Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Patching records in a nested gallery.

I am building a project based time entry app. Currently, the user picks multiple projects that they have worked on in one gallery, and then enter time in a nested gallery on the next page. The outer gallery (Called SelectedProject) contains the project from the prior screen. The inner gallery (Called EnterTime) is where the user enters their time which can be regular time, overtime, doubletime, and shift pay. I need to collect or patch the information from both of the nested galleries and also over each project into an entity called ImportTime in CDS.



The output information I would like is a table looking like the following:

ColumnA: Job Number (from the outer gallery), Column1: Selected Cost Code Column2: RegularHrs, Column3: OTofWFH, Column 4: DTorOOT, Column 5: SP, Column 6: SPOT, Column 7: SPDT. Each column is a user entry where column1 is a dropdown and the rest are numbers.


I tried adding photos to no avail (as well as googled how to do so). 


Thank you for your help.

Community Support
Community Support

Hi @ThomasMeharry,


It would be much helpful if you could share a screenshot.



Click Photos, then select a Picture.


Besides, I don't think patch () items from nested gallery would work.

To get the proper field, we need to fitler the Gallery for the proper item.

You could take a look at the following article for how to use filter in PowerApps:




Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor

Hello @ThomasMeharry I recommend to use variables. In that way, you can use data from multiple screens in order to use the patch function whenever you want. You can fill your varible with Form.LastSubmit.YourValue. A simple way is althoug to use the Form.lastsumbit if you use that form one time over the app use. If your users use more than one time the forms, for a better control you should always to use variables. 


I hope this help. 

GLUP - Creating Links -

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 (966)