web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dropdown Conditions
Power Apps
Unanswered

Dropdown Conditions

(0) ShareShare
ReportReport
Posted on by 27

I posted in regards to this a few nights ago which was solved. However, I'd like to still be able to use the other search boxes without requiring something to be selected in the dropdown1 box.

 

For example, I want to be able to search using ModelInput.Text and SInput.Text without needed to select an option in dropdown1. Right now I have to select the dropdown for anything to appear. 

Sort(
 If( 
 Dropdown1.Selected.Result=Blank(), 'IT Equipment List',
 Filter(
 'IT Equipment List',textInputSearch.Text in User, 
 ModelInput.Text in Model, 
 SInput.Text in 'Serial Number', 
 'Equipment Type'.Value = Dropdown1.Selected.Result
 )
 ), User
)

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @zapperrr 

    If you are allowing blank values to be selected in your dropdown, then consider the following formula:

    Sort(
     Filter('IT Equipment List',
     textInputSearch.Text in User, 
     ModelInput.Text in Model, 
     SInput.Text in 'Serial Number', 
     IsBlank(Dropdown1.Selected.Result) || 'Equipment Type'.Value = Dropdown1.Selected.Result
     ), 
     User
    )

    This will incorporate the other selections and a blank dropdown choice.

     

    Always avoid using If statements in your filters when possible (usually always!).  This will save you the double (or more) work.

     

    I hope this is helpful for you.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard