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 / How to put gallery ite...
Power Apps
Answered

How to put gallery item values into a drop down

(0) ShareShare
ReportReport
Posted on by 24

Hello all,

 

I am trying to get my drop down values based on all of the values present in a gallery. I have a list with about 10 items, 3 of which are under my name. They all have a different value in a different row and I need to get these values and present them in a drop down.

 

So far I have a gallery which items are fed by a filter which is fine. However displaying this gallery's values doesn't seem to work in my drop down that I need. I am using this formula to present the records values: 

 
Gallery2.AllItems.Site
 
But it is feeding me back an empty drop down which seems to have the right amount of options however they are all blank and I am getting a: 
 
LukeWilkins6_1-1641911916611.png

and

LukeWilkins6_0-1641911819688.png

 

For delegation so I am not sure if that is what is creating it to be blank but it is very odd. Can anyone help or explain simply how I can feed these gallery items into a drop down?

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @LukeWilkins6 

    Put Gallery2.AllItems as the Items property of the dropdown and then choose the field "Site" in the Value property of the dropdown on the right side of the screen.

    1.jpg

  • LukeWilkins6 Profile Picture
    24 on at

    This works and is an alternative, however in my case I need it in an if statement as well, for example:

    If(Last(User).Site="All", ["Item"], Gallery2.AllItems)
    So basically if something, then a normal list, if not then the gallery items if that makes sense?
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

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 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard