cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
BenGillard
Level: Powered On

Combining Filter and Search?

is it possible to combine the two Functions? I currently have a search that allows users to type what they are looking for across three columns which works and looks like this:

Search(AllResources,TextInput1.Text, "KeyWords","Style","{Name}")

 

I would like a formula that allows the exact same serahc funtion, but Filters the Gallery to only show items that are called QRG in my Style Column. I tried the below with no success. Any Help would be great.

 

Filter(Search(AllResources,TextInput1.Text, "KeyWords","Style","{Name}"),AllResources,"Style" = "QRG")

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Combining Filter and Search?

Hi Ben,

Yes, this is possible. Something like this might work a bitter for you.

Search(Filter(AllResources, Style = "QRG"),
       TextInput1.Text, 
       "KeyWords",
       "Style",
       "{Name}"
)

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Combining Filter and Search?

Hi Ben,

Yes, this is possible. Something like this might work a bitter for you.

Search(Filter(AllResources, Style = "QRG"),
       TextInput1.Text, 
       "KeyWords",
       "Style",
       "{Name}"
)

View solution in original post

BenGillard
Level: Powered On

Re: Combining Filter and Search?

Thank you so much!! That worked perfectly

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,734)