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 / When converting choice...
Power Apps
Answered

When converting choice combo box to gallery of check box, cannot set default of checked values

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

So the original combo box defaults to what was selected through default selected items set to "Parent.Default" but I cannot set the same on the gallery. My gallery is a collection of the choices in the combo box Items "Choices([@List].ContactPreferences)".  I cannot figure out what to put in default to make it default to what is already submitted.  Any ideas?

 

Gallery of Items:

The gallery of check boxesThe gallery of check boxes

Combo Box setting that does bring in default values:

Combo box advance settingsCombo box advance settings

Gallery of Checkboxes:

Gallery settingsGallery settings

Checkboxes in gallery to select items and update:

Checkbox in gallery advanced settingsCheckbox in gallery advanced settings

Data card that all are housed in in edit form:

Data card that all are housed in in edit formData card that all are housed in in edit form

Categories:
I have the same question (0)
  • Verified answer
    BenFetters Profile Picture
    on at

    Could you try putting this in your gallery? 

     

    ContactPreferencesDataCard1_1.SelectedItems

     

    Does that work or is that what you're looking for? Because you're just wanting to show in the gallery only the items or item that they had selected previously right? If you're trying to show all of them, but only have the check mark be marked if they had selected that, I would try something like this: 

     

    Gallery Items property: Choices([@List].ContactPreferences) (What you had before)

    Check box default property: ThisItem.Value in ComboBox.SelectedItems.Value

     

    See Below:

     

     
  • BenFetters Profile Picture
    on at

    ComboBoxGallery.jpg

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @BenFetters  I am trying to delete the combo box and just use the gallery of checkboxes but cannot make the gallery of checkboxes default to items already selected in list. The combo box will default them but the gallery will not. Thanks for your assistance.

  • BenFetters Profile Picture
    on at

    Oh okay, I understand now. If you're deleting the combo box, you'll have to reference the item in the form to know what they've already selected or find another way to reference to what they've already selected such as making a collection when you come to the screen its on if you haven't done any of those things already. Did this solve your problem though or are you still having troubles getting this to work? 

     

    Happy to help!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @BenFetters  your solution works but I have to hide the combo box. I would like for it to work without the combo box if possible.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard