cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BenGillard
Helper III
Helper III

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
timl
Super User
Super User

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
timl
Super User
Super User

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}"
)

Thank you so much!! That worked perfectly

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,497)