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 / forALL patch does not ...
Power Apps
Unanswered

forALL patch does not work for every entry in gallery row. Works for all except the selected drop-down values

(0) ShareShare
ReportReport
Posted on by 226

I am having difficultly making selected drop-down values stick for every row in a gallery after the first one when doing a patch. It just keeps repeating the same values that are in the first row of the gallery when they are saved to sharepoint. Is there a way to make each selected value of a column in the each row of the gallery not change? the text inputs stick in the row of the gallery as do the hard coded values but the selected items in the drop-downs don't.

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @jv123 ,

     

    Could you please share more details about your scenario? What is the formula in Items of Gallery? What is the entire formula of ForAll and Patch? 

     

    I tried to reproduce this issue and found that if only use Dropdown.Selected within the Patch function, it did update duplicates to the data source. But if use an As function to represent Gallery.AllItems, GA.Dropdown.Selected could help update properly. Please have a try:

    vjefferni_0-1669194135394.png

    Result:

    vjefferni_1-1669194148804.png

     

     

    Best regards,

  • jv123 Profile Picture
    226 on at

    Are you referencing the gallery or the collection? I am using a collection because I needed to be able to connect to more than one data-source.  I'm not sure Allitems will work.

  • jv123 Profile Picture
    226 on at

    yeah tried that and it literally broke everything.

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @jv123 ,

     

    So, what was your formula? If not referencing the Gallery, how will the Patch function know respective dropdown values from ForAll items?

     

    Best regards,

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard