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 / Saving multiple combob...
Power Apps
Answered

Saving multiple combobox to choices column in sharepoint

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Good day everyone. I'm trying to save a multiple combobox into a choice type column named testingtesting in sharepoint. The combobox data source is from an excel file. When I try, I've been getting "the property on this control expects text values, but this rule produces table" error in the default properties of the datacard. 

PekPekmentos_0-1632906785911.png

the source for the combobox named DropList from an excel business

PekPekmentos_1-1632906882953.png

the excel file

PekPekmentos_2-1632906961132.png

PekPekmentos_3-1632907032661.png

 

 

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Interesting ! 😂

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    What's your update property of the data card?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    PekPekmentos_0-1632908007023.png

     Here is the update property of the data card. The combobox2 is the name for combobox for the data

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Are you trying to store multi select combobox?

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Do you want to save the Combo Box selected workers to the Choice column in SP list?

    Could you please tell me if you have created a Choice column that allows multi select in your SP list?

     

    Firstly, please make sure that you have created a Choice column that allows multi select in your SP list, just modify your Update property as below:

    ForAll(
     Combobox2.SelectedItems,
     Worker
     )

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-qiaqi-msft 

    Yes I've already created a choice column that allows multi select in SP. 

    I've copied your code but it says Expected Text Value.

     

     

    @zmansuri 

    Yes I'm trying to store multi select combobox in SP list but with datasource from an excel

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Could you please check if you have paste the formula on the Update property of the data card?

    It is impossible for a Choice column to have that error message.

     

    A Choice column allowing multi select could not expect a text value. Check the screenshot as below, you should put my formula into the Update property.

    vqiaqimsft_0-1632971265961.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    LimWeiChaiFan_0-1632971733162.png

    @v-qiaqi-msft both of your codes giving the same error 

    LimWeiChaiFan_1-1632971895296.png

    I change it to Combobox2.Selected.Worker and the error goes away but another error pops up in default.

    LimWeiChaiFan_3-1632971974770.png

     

     

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Here is how I set in my scenario:

    This is the Combo Box where I populate with the Excel Worker column:

    vqiaqimsft_1-1632972395431.png

    This is the data card where how I set the Default property in the Edit form, note that the Module is the Choice column in my SP list.

    vqiaqimsft_2-1632972421044.pngThis is the data card where I set the Update property as below to save the multi select:

    DataCardValue9.SelectedItems

    vqiaqimsft_3-1632972573090.png

    Here is the test result:

    vqiaqimsft_4-1632972605023.png

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-qiaqi-msft Thank you so much, I followed your method step by step and it works. I think the problem is because I change the SP type from single line text to choices without removing and creating a new datacard, I just add a new combobox.

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard