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 combobox mult...
Power Apps
Answered

Patching combobox multi select values to SharePoint

(0) ShareShare
ReportReport
Posted on by 10

Hello,

 

 I have two multiselect combobox, first one select user (combobox1) and other select approver (combobox2). I want to patch that to sharepoint list but I am unable to do so, please guide as I am new to powerapps.

 

Suppose in combobox1 selected users are User1 and User2 and in approver combobox is approver1 and approver2, it should create 4 entries in Sharepoint like User1 and Approver1, User1 and Approver2, User2 and Approver1 and User2 and Approver2. I think it can be achieved by nested forall but I am not able to figure it out. Please help

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

    Hi @PowerApps880 ,

     

    Could you please share more details about your scenario? Would you like to add multiple entries into four SharePoint Text columns?

     

    Best regards,

  • PowerApps880 Profile Picture
    10 on at

    SharePoint has only two columns User and Approver that should be patched based on selection on Comboxes, if the Comboxes has selection as Comobox 1 : User 1, User 2 and Combobox 2 : Approver 1 and Approver 2. This should create four entries in SharePoint as User1 and Approver 1, User1 and Approver2, User2 and Approver 1, User2 and Approver2.

  • FazalUrrehman Profile Picture
    131 on at

    What's Exactly not working ??

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @FazalUrrehman ,

     

    If the two columns are both of type Text, then the formula to a button in your app should be:

     

    Patch(YourList, UnGroup(ForAll(UserComboBox.SelectedItems As UU, ForAll(ApproverComboBox.SelectedItems As AA, {User: UU.DisplayName, Approver: AA.DisplayName})),"Value"))

     

    vjefferni_0-1702524205305.png

     

    Items properties of both Combo box are as below, so I use DisplayName field values in the formula:

    Office365Users.SearchUserV2({searchTerm:Self.SearchText}).value

     

    Best regards,

  • PowerApps880 Profile Picture
    10 on at

    Thanks, I was stuck in the second forall. This works

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard