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

Community site session details

Session Id : 7IdrSMRoNg9KvdZH2rKNmG
Power Apps - Building Power Apps
Answered

Unable to multiple select items in combo box

Like (0) ShareShare
ReportReport
Posted on 4 Oct 2021 15:12:18 by 64

Hello All,

A strange problem here.  I have a combo box (comboBooks) that writes the selected choice to a single line text column in a SharePoint list (works perfectly).  However, when I select multiply items, only one item is stored.  I guess this is something to do with the combo box Update property coding.

  1. The combo box has the property SelectMultiple=true
  2. The combo box items are obtained from another SharePoint list (Reading_Books) added as another connection in PowerApps
  3. The combo box has the property DefaultSelectedItems=[Parent.Default]
  4. The combo box card has the property of Update set to If(
    IsBlank(comboBooks.SelectedItems) || IsEmpty(comboBooks.SelectedItems),
    "",
    comboBooks.Selected.Title
    )

The combo box was created by deleting the textbox control in the card and replacing it with a combo box.

 

ThanksInAdvance!

Categories:
  • TheWizardHunter Profile Picture
    64 on 06 Oct 2021 at 08:32:06
    Re: Unable to multiple select items in combo box

    OK, Thank you very much for your assistance and persistence Bryan.

  • Verified answer
    BCLS776 Profile Picture
    8,988 Moderator on 05 Oct 2021 at 17:24:18
    Re: Unable to multiple select items in combo box

    If it helps, you can delete and then re-add a card to your form control to reset it back to original settings. We've drifted a ways from your original question, so consider posting a new one and get some fresh perspectives from other community members.

  • TheWizardHunter Profile Picture
    64 on 05 Oct 2021 at 17:01:14
    Re: Unable to multiple select items in combo box

    Thank you Bryan,

     

    To be honest, I am not sure what code to substitute the existing with now.  All my data cards are unlocked.  I think whatever I was using before wasn't valid.

  • BCLS776 Profile Picture
    8,988 Moderator on 05 Oct 2021 at 16:48:55
    Re: Unable to multiple select items in combo box

    Hmm, I am able to edit DefaultSelectedItems, without error, on one of my example apps here. I did have to "unlock to change properties" in the advanced properties of the data card before making this change, but it works here. Again, can you show the error message & code flags?

  • TheWizardHunter Profile Picture
    64 on 05 Oct 2021 at 15:51:51
    Re: Unable to multiple select items in combo box

    Hi there,

    The below is how there are currently set up both are being identified as a Table.

     

    Items property 

    TheWizardHunter_0-1633449018176.png

     

    DefaultSelectedItems property

    TheWizardHunter_1-1633449058004.png

     

  • BCLS776 Profile Picture
    8,988 Moderator on 05 Oct 2021 at 15:42:31
    Re: Unable to multiple select items in combo box

    Could you share the error message and any flags on the code? One way this can go wrong is if the Items property and the DefaultSelectedItems property are different data types.

  • TheWizardHunter Profile Picture
    64 on 05 Oct 2021 at 14:11:36
    Re: Unable to multiple select items in combo box

    Hello Bryan,

     

    I am still struggling with the last part i.e. formulae to populate DefaultSelectedItems.  Doesn't seem to like anything apart from [Parent.Default]

  • BCLS776 Profile Picture
    8,988 Moderator on 05 Oct 2021 at 12:57:00
    Re: Unable to multiple select items in combo box

    Yes, use this format to manually populate the DefaultSelectedItems property of the combobox:

    ["Risk1","Risk2","Risk3"]
  • TheWizardHunter Profile Picture
    64 on 05 Oct 2021 at 11:35:00
    Re: Unable to multiple select items in combo box

    Thanks, the Card's Default property is:

     

    Default=ThisItem.'Risk Type'

    The Control's DefaultSelectedItems= [Parent.Default]

     

    Do you have any idea what to change either one of these to?

  • BCLS776 Profile Picture
    8,988 Moderator on 05 Oct 2021 at 11:24:46
    Re: Unable to multiple select items in combo box

    You can change it there or change the Default property for the (parent) card.

     

    Bryan

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete