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 / Swap combobox with but...
Power Apps
Answered

Swap combobox with buttons in a form

(0) ShareShare
ReportReport
Posted on by 725

Hi Everyone

I have been wrestling with this for a while now. I have a multiselect combobox that has three choices from Sharepoint. Using a gallery with buttons ,I have tried collecting the values in a collection and then trying to put the collection into the update property of the DataCard, but that didn't work, I suspect the data is not the right type. Also tried a million other things.

Any help would be appreciated

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at

    Hi @Corissandageri ,

     

    Can you provide a bit more background or perhaps some screenshots? What is the data type you are trying to Update? What is the data type of the source column? Do you receive any errors?

     

    Is the Combo Box inside or outside the form?

  • R Bakker Profile Picture
    725 on at

    Choices column, combobox is  inside the form, gallery is inside the same datacard as combobox.

  • BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at

    Hi @Corissandageri 

     

    And how are the combo box and gallery interacting? Are they both displaying the same information?

  • Verified answer
    R Bakker Profile Picture
    725 on at

    I have deleted the combobox, but the following works for updating

     

    If(Not({Value:ThisItem.Value} in colDiet),Collect(colDiet,Table({Value:ThisItem.Value})),Remove(colDiet,{Value:ThisItem.Value}))

     

    Just have to work out the default property now

    Thank you BCBuizer  for your time.

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard