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 / Gallery not pulling in...
Power Apps
Unanswered

Gallery not pulling in default selected items from combo box

(0) ShareShare
ReportReport
Posted on by 13

I have an edit form that is pulling in defaults from a prior screen. In this form there is a gallery that is pulling it's items from a combo box. This info from the combo box is then used to populate a gallery. I am able to pull in the items to the combo box but the gallery is not picking up the selected items from the combo box now.

 

cmilligan262_0-1630012869449.png

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @cmilligan262 .

    I assume the combo box is multi-Select? What code are you using in the Gallery Label to display the selected items and what are the Items of the Combo Box?

  • cmilligan262 Profile Picture
    13 on at

    @WarrenBelz 

    Yes the combo box is multi-select. Below is the code for the gallery:

     

    Sort(ComboBox.SelectedItems ,Result,Ascending)

     

    It is directly referencing the combo box. The code for the label is ThisItem.Result 

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @cmilligan262 ,

    I have done a test here as below - mine is a choices field, but that should not make a difference - the label in the gallery is ThisItem.Value

    WarrenBelz_0-1630100362599.png

    What is different in yours?

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • cmilligan262 Profile Picture
    13 on at

    @WarrenBelz 

    It pulls in fine with the items when I'm using it as a new screen. I'm also using this screen as an edit screen and pulling in the defaults from the selected record. The only time it has issues is when the combo box is populated from the defaults, at that point the gallery won't populate with the items from the combo box.

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @cmilligan262 ,

    The item I have posted was on the Defaults (so I cannot duplicate your outcome). You could try concat on the underlying field if he SelectedItems are blank.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard