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 / ComboBox Selection not...
Power Apps
Unanswered

ComboBox Selection not fully patching to SP List

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Spoiler (Highlight to read)

Hi,

I have a powerapps form that has text input boxes and comboboxes for users to fill and submit. This updates a list on sharepoint. The comboboxes also populate the choices from the sharepoint list.

The combobox name is DataCardValue40. The patch formula does not let me write 'Business Line':Table(DataCardValue40.SelectedItems) and throws an error. If I write 'Business Line':Table(DataCardValue40.Selected), it accepts but then it only updates the first selection my SP list. Business Line is the Column which I want updated with the selection of choices.

Need help to fix this.

Hi,I have a powerapps form that has text input boxes and comboboxes for users to fill and submit. This updates a list on sharepoint. The comboboxes also populate the choices from the sharepoint list.The combobox name is DataCardValue40. The patch formula does not let me write 'Business Line':Table(DataCardValue40.SelectedItems) and throws an error. If I write 'Business Line':Table(DataCardValue40.Selected), it accepts but then it only updates the first selection my SP list. Business Line is the Column which I want updated with the selection of choices.Need help to fix this.
Categories:
I have the same question (0)
  • notj Profile Picture
    782 on at

    Is your column in SharePoint set to allow multiple selections?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes it is.

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

    Hi @Anonymous ,'

    You are Patching a number of values to a multiple value Choice field, which is a table, so the syntax for this field should be as below

    'Business Line': ForAll(
     DataCardValue40.SelectedItems As aBL,
     {Value: aBL.Value}
    )
    

     

    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.

     

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

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Could you tell me:

    1. Do you have a button control in the edit form?
    2. Do you use the pathc() function to submit records?

     

    If my assumptions are correct, the point is that the formula requires data of table data type.

    1. When you use the selected property of the combo box control, it selects the first option among all the options. The data type of this option is a record. So use the table() function to convert the record type to the table type.
    2. However, when you use the selectedItems property of the combo box control , It selects the options you selected. Its data type is table already. Therefore, there is no need to use the table() function to convert it.

     

    You could try the following code:

    Patch(LIST33,Defaults(LIST33),{Title:"1",'Business Line':DataCardValue40.SelectedItems}) // LIST33 Is my list name.

     

    Best Regards,

    Wearsky

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous  ,

     

    Could you tell me:
    Has the problem been solved?
    Is there anything else I can help?

     

    If my post helps, then please consider Accept it as the solution to help others.Thanks
    Best Regards,
    Wearsky

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard