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 / Dropdown selection to ...
Power Apps
Answered

Dropdown selection to filter Gallery

(0) ShareShare
ReportReport
Posted on by 9

Hi everyone, 

 

Hope you are all having a pleasant weekend. 

 

I am in the middle of designing an App.

 

I have a excel list where a country can appear multiple times. 

 

My app has 2 screens. 

 

I want the first screen to show 2 dropdown. The 1st dropdown shows all the country names (but for the country names to only appear once). Then 2nd dropdown will depend on the country and appear the customer's name. 

 

Once they select customer's name from the dropdown, and click the button to navigate to screen 2, the gallery should display all the information related to the customers. 

 

Any help appreciated!! 

 

Thanks 

 

#mobileapps

Categories:
I have the same question (0)
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @blur2teoh ,

     

    Could you please tell me what your table looks like?
    You can try:
    The items property of Dropdown1:

    Distinct (excel list, country)


    The items attribute of Dropdown2:

    Filter(excel list,country=Dropdown1.Selected.Result).customer


    Button's OnSelect property:

    Navigate (Screen2)


    In Screen2, you can use Dropdown2.Selected.customer to query customer information.

  • blur2teoh Profile Picture
    9 on at

    1st screen show in below:

    blur2teoh_0-1675665117391.png

    2nd screen show in below:

     

    blur2teoh_1-1675665182506.png

     

     

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @blur2teoh ,

     

    Could you please tell me where your customer information is stored?
    You can use Filter() to query his information according to the customer selected in the Dropdown2.

     

    Best Regards,

    Dezhi

  • blur2teoh Profile Picture
    9 on at

    Hi @v-dezhili-msft,

    Customer information stored in the same excel file (table) i use for screen 1 meaning excel file contain all the information. May i know how to write the formula to link screen 2 to the customer selected in the Dropdown2?

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

    Hi @blur2teoh ,

     

    You can try to add a Display form and use it under its itme attribute:

    LookUp(excel list, customer=Dropdown2.Selected.customer)

     

    Best Regards,

    Dezhi

  • blur2teoh Profile Picture
    9 on at

    Hi @v-dezhili-msft , 

     

    Thank you for your help. It is worked. 

    Lookup(excel list. customer=dropdown2.selected.result) 

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

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard