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 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,299 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard