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

Community site session details

Session Id : LdU0u0SFfrgwemw9whihUg
Power Apps - Building Power Apps
Unanswered

Text Search and Multiple Dropdown Filter Help

Like (0) ShareShare
ReportReport
Posted on 14 Jan 2021 08:19:19 by 2

Hello Everyone - I'm running into an issue filtering my Gallery and need your help.

 

I have 3 Filters:

Text Search Label:  SearchBox 

ComboDropdown: CategoryDropDown - Items formula: Sort(Distinct('SFDC How Do I List-ac5bc9db-5af2-4f48-94ed-d7a247f4cab1',Title),Result)

ComboDropdown: ResourceDropDown - Items formula: Filter('SFDC How Do I List-ac5bc9db-5af2-4f48-94ed-d7a247f4cab1', Title = CategoryDropDown.Selected.Result) - Which provides me the Resource text I need based on the choice made in the first.

 

I am trying to get a formula into the items of the Gallery that ...

 

if nothing is selected in all three its blank 

If there is text in the search box then populate based on that 

If there is text in the dropdowns it shows based on that

 

Ideally each one would filter the other but I feel like that will be a lot so as long as the search box doesn't interfere with the drop downs when selected it would work. The second drop down (Resource) is not filtering anything when selected. Also when the dropdowns are selected and you start typing it starts filtering.

 

Also would like help on what can I write for a button to clear all the filters.

 

Any help would be greatly appreciated

 

This is what I have so far but its not working the way it should:

 

If(IsBlank(CategoryDropDown) And IsBlank(ResourceDropDown), Search('SFDC How Do I List-ac5bc9db-5af2-4f48-94ed-d7a247f4cab1', SearchBox.Text,"Resource","Title","Description_x0020_"),
If(IsBlank(SearchBox.Text), Filter('SFDC How Do I List-ac5bc9db-5af2-4f48-94ed-d7a247f4cab1', Title = CategoryDropDown.Selected.Result), Search('SFDC How Do I List-ac5bc9db-5af2-4f48-94ed-d7a247f4cab1', SearchBox.Text,"Resource","Title","Description_x0020_")))

I have the same question (0)
  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on 27 Jan 2021 at 18:22:48
    Re: Text Search and Multiple Dropdown Filter Help

    @Dziubek can you try something like this?

    Search(
     Filter(
     'SFDC How Do I List-ac5bc9db-5af2-4f48-94ed-d7a247f4cab1',
     IsBlank(CategoryDropdown) || Title = CategoryDropDown.Selected.Result
     ),
     SearchBox.Text,
     "Resource",
     "Title",
     "Description_x0020_"
    )

    Let me know if this works. 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Microsoft Certified Trainer MCT

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 892 Most Valuable Professional

#2
Power Apps 1919 Profile Picture

Power Apps 1919 356

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 310 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete