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 / Adding Search Box with...
Power Apps
Answered

Adding Search Box with Dropdown Filters

(0) ShareShare
ReportReport
Posted on by 49

Need help adding a dropdown to the below code.  Keeps showing errors.  Thanks so much.

 

If(IsBlank(Dropdown1_2.Selected.Result),If(IsBlank(Dropdown1.SelectedText),Sort(‘DATA SOURCE’,NAME),Filter(‘DATA SOURCE’,’START DATE'=Dropdown1.Selected.Result)),Filter(If(IsBlank(Dropdown1.SelectedText),Sort(‘DATA SOURCE’,NAME),Filter(‘DATA SOURCE’,’START DATE'=Dropdown1.Selected.Result)),Dropdown1_2.Selected.Result=LOCATION))

Categories:
I have the same question (0)
  • TONYSTORM Profile Picture
    49 on at

    Sorry need help adding a Search box to the code

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @TONYSTORM ,

     

    Try below codes, just add search at the beginning and follow the syntax in the end:

    Search(
    If(
     IsBlank(Dropdown1_2.Selected.Result),
     If(
     IsBlank(Dropdown1.SelectedText),
     Sort(‘DATA SOURCE’,NAME),
     Filter(‘DATA SOURCE’,’START DATE'=Dropdown1.Selected.Result)
     ),
     Filter(
     If(
     IsBlank(Dropdown1.SelectedText),
     Sort(‘DATA SOURCE’,NAME),
     Filter(‘DATA SOURCE’,’START DATE'=Dropdown1.Selected.Result)
     ),Dropdown1_2.Selected.Result=LOCATION
     )
    ),
    SearchBox.Text,
    SearchColumnName
    )

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @TONYSTORM ,

     


    Have you resolved the issue? 

    If above post helps, then please consider Accept it as the solution to help the other members find it.


    Best regards,
    Community Support Team _ Jeffer Ni

  • TONYSTORM Profile Picture
    49 on at

    Working great!  Thanks so much 🙂

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard