cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Multiple conditions with search function

Hello Gurus,

 

Assitance needed to be able to have 2 conditions and a searchbox - I am missing something here.

 

Currently I have;

 

SortByColumns(Filter([@'FAQ'], TextSearchBox1.Text in Title), "Title", If(SortDescending1, Descending, Ascending))

 

What I also want to include only as a filter, not in search is, only records that are marked FAQ from Status column 

 

Greatly appreciate help on this

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@RobHel
You can use this code.

SortByColumns(Filter([@'FAQ'], TextSearchBox1.Text in Title, Status = “FAQ”), "Title", If(SortDescending1, Descending, Ascending))

If Status is a lookup column, change it to:
Status.Value = “FAQ”

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

2 REPLIES 2
Super User III
Super User III

@RobHel
You can use this code.

SortByColumns(Filter([@'FAQ'], TextSearchBox1.Text in Title, Status = “FAQ”), "Title", If(SortDescending1, Descending, Ascending))

If Status is a lookup column, change it to:
Status.Value = “FAQ”

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

Thank you, you are a life saver

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,473)