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 Apps
Unanswered

Dropdown Default

(0) ShareShare
ReportReport
Posted on by 67

i have a dropdown which shows all distinct hr names from the list , show i need is when i land this screen  i should see all the hr names with a an extra thing [ALL Hr] , so that if i click on that i should get data in gallery of all hr records together else if i select particular hr name in dropdown then his data should appear in gallery.

 

PFA

Capture.PNG
Categories:
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    am i right that you ask how u can filter a gallery based on dropdown choice?

  • AP6 Profile Picture
    67 on at

    i want one more field in dropdown which is all , so on selecting that i should get all the records , else if i select particular hr name in dropdown then his data should appear in gallery.

  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    Hey could you try this :

     

    in a first step you would need to collect all the HR names in a collection and than add the all value to it :

    ClearCollect(colHRNames,Distinct(Datasource,HRNames));
    Collect(colHRNames,{Value:"HR all"})

    use the colHRNames Collection ad Datasource for your Dropdown

    on your gallery you can now add an If statement:

    If(Dropdown.selectedText.Value="All Hr",Datasource,Filter(Datasource, HRColumn= Dropdown.selectedText.Value))

     

    Let me know if it helped you.

     

     

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    do you mean 1 more choice? if yes then simply add it to the options.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard