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 / Patching MultiSelect c...
Power Apps
Unanswered

Patching MultiSelect columns in a repeating table not working

(0) ShareShare
ReportReport
Posted on by 2

I built a repeating table with a multiselect combobox...Item property --Choices(permission.Jobtitle).

I have 2 issues.

  1. when i patch to my collection  it only holds 1 of the selected items
  2. The final submit button dosent work at all.

I have a save button in each gallery item that patches the current items and create a new line. the onselect formula is 

     Patch(col_Add, ThisItem, {NewJobtitle:Multiselectcombobox.selected.value,---------I also tried using SelectedItems

                                             FName:Textbox1.Text})

 

On the final submit button i have 

        ForAll(Col_Add, Patch(Permission,Default(Permission),

                                     {Name:FName,

                                     JobTitle:{Value:NewJobtitle})----------------------------This is not working at all.

 

Any help would be much appreciated.

Categories:
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @Bereketwold ,

    For the first one try

    Patch(
     col_Add, 
     ThisItem, 
     {
     NewJobtitle:
     ForAll(
     Multiselectcombobox.SelectedItems As aSel,
     {Value: aSel.Value}
     ),
     FName: Textbox1.Text
     }
    )

     the second should work as below as you now have a matching Table structure in your collection

    Patch(
     Permission,
     ForAll(
     Col_Add As aPatch, 
     {
     Name: aPatch.FName,
     JobTitle: aPatch.NewJobtitle
     }
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Bereketwold Profile Picture
    2 on at

    @WarrenBelz 

    Thank you so much for your suggestio. i tried the above formula and on the fist patch,  i get an error saying 

    NewJobTitle does not match the expected type 'Text'. Found type 'Table'.

     

    I dont understand what caused this error. My SharePoint column is a multiselect and the Combobox also allows multiple selections. any thoughts?

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @Bereketwold ,

    It is telling you that NewJobTitle is a Text column in SharePoint - can you please check your List Settings for this.

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
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard