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 / Combo Box only save la...
Power Apps
Unanswered

Combo Box only save last selected item in Excel

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm using combo box to select multiple items, when I save the record it only save the last selected item excel. Is there anything I missed out? Here's my update property Update = ComboBox.Selected.Items

 

Selected Items

Item 1
Item 2

 

Saved in Excel

Item 2

Categories:
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    This is because that you have used Selected in the formula and this will only update single selection. The right formula should be Update = ComboBox.SelectedItems.Value. But I just tested with this, but it still won't work. I think this is because that this column from Excel table. I would ask about this with pg and see if they have any suggestions.

    Capture.PNG

     

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Assuming this is saved in an Excel spreadsheet file, the error is probably caused by the fact that Update is expecting a string, not a list. Try using a Concat() function to collapse the list into a string. 

     

    Then again, I just used Patch() here and gone away with the "helpful" abstraction by PA so I don't have much experience with the Update property.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I tried this formula but still the last selected item was only saved.

     

    UpdateContext({AddRecord: Patch(ComboBox,Defaults(ComboBox),{Document:Left(Concat(ComboBox.SelectedItems.ItemsList, Concatenate(Text(ItemsList), ";")), Len(Concat(ComboBox.SelectedItems.ItemsList, Concatenate(Text(ItemsList), ";"))) -1)})})

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard