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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Patch multiple record from data from a multiselect combo-box

(0) ShareShare
ReportReport
Posted on by 49

I have a combo box which is linked to the Customer table and shows the list of customers. Multi-selection has been enabled for this combo box. After selecting, let's say 10 customers, I want to patch 10 new records to a new table with the click of a save button which I have on that screen. 

Current approach: Creating collection onChange of the combo box to store all the customers and on Save button using ForAll function to loop through collection and Patch. This is taking time to patch when I select more than 20 Customers.

Is there any alternate method for this functionality? Or is there any change that can be suggested in my approach?

I have the same question (0)
  • CNT Profile Picture
    10,919 Super User 2024 Season 1 on at
    Re: Patch multiple record from data from a multiselect combo-box

    @minimalelement 

    Please try the following,

     

    Patch(yourDataSource, ForAll(yourCollection, {column1: ThisRecord.column1, column2: ThisRecord.column2,......}))
     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 384 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 246

Last 30 days Overall leaderboard