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 / Trying to set dropdown...
Power Apps
Answered

Trying to set dropdown for ALL option does not work

(0) ShareShare
ReportReport
Posted on by 12

Hi Currently trying to use my dropdown and add an "All" option to my list so I do not need to select a option to populate the gallery.

I have a button that is set up to a collect seen here: ClearCollect(colChoices, {Result:"All"}, Distinct(Tsp,'certifications?')). I now have a dropdown that has the option 'All' in it. However I am struggling to write the filter to capture "ALL" of it.

Here is my filter of the gallary

Filter(Tsp,Dropdown1_1.Selected.Result='All' || 'certifications?'=Dropdown1_1.Selected.Result) I do not understand why in this instance I have to use .result and not .value. Also I am not sure why my column is not working and I am not able to set it as a .value. I should not that I am importing this data from excel please let me know if you have any ideas. I have beem sifting for a answer and I am not seeing much. I will attach a picture of what this column looks like in excel.

Power apps help.PNG
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @davismarist1198 ,

    If you really want "Value", do this

    ClearCollect(
     colChoices, 
     {Value: "All"}, 
     RenameColumns(
     Distinct(
     Tsp,
     'certifications?'
     ),
     "Result",
     "Value"
     )
    )

    then your Filter

    Filter(
     Tsp,
     Dropdown1_1.Selected.Value = "All" || 
     'certifications?' = Dropdown1_1.Selected.Value
    )

    and you need double quotes around "All". To answer your question on Result - this is the output of the Distinct() Function

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • davismarist1198 Profile Picture
    12 on at

    Thank you so much Warren, one last question how could I implement one more filter for example I have a second drop down

    I attempted this and it is not working


    Filter(Tsp,

    Dropdown1_1.Selected.Result= "All" || 'certifications?' = Dropdown1_1.Selected.Result && 'What is your current rank'=Dropdown1.Selected.Result)

    The end goal is the rank column is required to have one entry but I would like to have the certification column remain ALL. Much thanks

  • davismarist1198 Profile Picture
    12 on at

    So currently this is what I have 

    Filter(Tsp,'What is your current rank'=Dropdown1.Selected.Result And
    Dropdown1_1.Selected.Result= "All" || 'certifications?' = Dropdown1_1.Selected.Result)

    The issue is I would like to always follow the first criteria, so if I select 'Senior Manager' in the first dropdown it will so all senior managers. I noticed that regardless of what I select in the first it will follow the second question. Please see a example in the picture. Ignore the combo boxs they are for testing purposes

    Power app help2.PNG
  • Verified answer
    WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @davismarist1198 ,

    Some bracketing on the and/or ad also double quotes around the selected value

    Filter(
     Tsp,
     (
     Dropdown1_1.Selected.Result = "All" || 
     'certifications?' = Dropdown1_1.Selected.Result
     ) && 
     Dropdown1.Selected.Result = "What is your current rank"
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard