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 / Get data from the sele...
Power Apps
Answered

Get data from the selected item from a gallery into a combobox in form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 
My scenario is I have a form which will require user to select from a gallery for the combobox field to populate.
The gallery is outside as it is from a different list. (Not sure if I can include inside the form as I have also created a lookup column -- BadgeSrc)

anonymia25_0-1649733873118.png
My gallery item property:

Filter(Badge,Category.Value=dpCategory.Selected.Result)


Combobox property:

LookUp(Applause, BadgeSrc.Value = GalleryBadge2.Selected.Title)

the combobox should populate based on selected item in gallery and it was meant to be hidden for the user to submit the form. 
Would appreciate the best approach for this, many thanks!

Categories:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Could you please tell me:

    1). which property do you set for the LookUp() function, Items?

    2). how you set the Items property of the dpCategory, if the Category is a Choice column in Badge, why using a Distinct() function to populate the dpCategory?

     

    Currently, I assume that the BadgeSrc is a LookUp column retrieving value from the Title column in Applause list, if so, please set the DefaultSelectedItems property of the Combo Box as below:

    Filter(Applause, BadgeSrc.Value = GalleryBadge2.Selected.Title)

    Note that set the DisplayFields as the one you want.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard