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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Save more than one sel...
Power Apps
Unanswered

Save more than one selected items in datasource by power apps

(0) ShareShare
ReportReport
Posted on by 80

Hi Everyone,

 

I have one question, how can we save more than one item in the data source when we are selecting more than one or two items from the combo box? In my case, it is only saving one item that is selected in the last. How can I solve this?

 

Thanks

Categories:
I have the same question (0)
  • CharlesGN Profile Picture
    29 on at

    Heij ! 

     

    I think you can found your answer in this thread :

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Patch-ForAll-Combobox-Items/m-p/1502797 

     

    If you use SharePoint List, the Patch() and ForAll() functions can be your savior 😊.

     

    Have a great day ! 

  • lisha Profile Picture
    80 on at

    Hi @CharlesGN ,

     

    No, Actually I want to select the multiple values from combo box which is in the form. So if I am using patch function and for all in it then this will create multiple records with same value selected in the last in combo box. 

  • uwenagel Profile Picture
    382 on at

    Look to this thread:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Patch-a-multiple-value-choice-column-with-multiple-value-combo/td-p/871530 

     

    I think it will answer your question.

     

    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.

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

    Hi @lisha,

    Have you solved your problem?

    Do you want to save multi selected items to data source?

    Could you please tell me how you set the Items property of the Combo Box and what the column type of the column that you want to save the selected items to?

     

    If the column you want to save the selected items to is a Choice type allowing multi select, you should set the Update property of the data card as below:

    ComboBox.SelectedItems

    However, if you want to save selected items to a Text column, and you set the Combo Box Items property as List.TextColumn(Here TextColumn is from another column), you should set the Update property of the data card as below:

    Concat(ComboBox.SelectedItems,TextColumn,",")

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 759 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard