cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Multi gallery filter for 2 or more columns

I have a text search box on my powerapp that has the following formula to filter based on a Product

 

Filter('SharePoint_list',txtSearchbox.Text in Product)

 

I also have a column on the SharePoint_list for Title, and I would like the txtSearchbox.Text to also filter based on the persons Title, so if I have 'Chris' who owns the product 'Cloud Security' then entering "chris" or "cloud security" in the textbox finds the same record.#

 

I thought I could Google this and figure it out but the approach others take is different to my current setup, and I would like to know if this is possible with my scenario. 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Anonymous ,

Try this

Filter(
   'SharePoint_list',
   txtSearchbox.Text in Product ||
   txtSearchbox.Text in Title
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @Anonymous ,

Try this

Filter(
   'SharePoint_list',
   txtSearchbox.Text in Product ||
   txtSearchbox.Text in Title
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Anonymous
Not applicable

Thanks @WarrenBelz that was the solution 🙂 I stumbled on it amongst the queries that were designed for multi-textbox searches.

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.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

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 (2,316)