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 / drop down > gallery pr...
Power Apps
Answered

drop down > gallery problem // plz help me

(0) ShareShare
ReportReport
Posted on by 25

hi

 

why this problem occured? I copied the same tutorial on Microsoft's homepage .

I hope the item I chose from the drop-down will appear in that gallery.

 

dropdown 

3.png
1.png
2.png
Categories:
  • Liam_Chapman Profile Picture
    187 on at

    Hi @hyunjin904 ,

    Try changing your items in the gallery to 

    Filter(Accounts, address1_city = Cities.Selected.address1_city)

    Hope this helps and if so please set as the solution.

    Thanks.

  • joeinmay Profile Picture
    205 on at

    Insert a Button

    OnSelect -> ClearCollect(Accounts,{address1_city:"seoul"},{address1_city:"dokdo"},{address1_city:"qyeong-gi"})

     

    Insert DropDown

    Items - > Accounts.address1_city

     

    Insert Gallery

    DataSource -> Accounts

    Layout -> Title

    Items - > Filter(Accounts,address1_city=Dropdown1.Selected.address1_city)

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @hyunjin904 ,

    Do you have problem in your filter function?

    The reason why you met this problem is because of Distinct() function.

    Distinct function will return a table with a field named Result.

    So to use value that you select in the drop down, you should use formula like this: dropdownname.Selected.Result.

    Try to set the gallery's Items like this:

    Filter(Accounts, address1_city = Cities.Selected.Result)

     

     

     

    Best regards,

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

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard