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

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,505 Super User 2025 Season 2 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,505 Super User 2025 Season 2 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard