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

Add multiple parameters to search formula

Hi there

 

I have a working formula over here

 

SortByColumns(Search(Filter(Products_1, Software<>IsNotSoftware && Hardware<>IsNotHardware && IsService<>IsNotIsService), TextSearchBox1.Text, "ProductModulesComponents"), "ProductModulesComponents")

It does a filter and a search(gets data from sharpoint list). All works well, the only thing I want to add to it is the ability to search via multiple values. Currently it searches by 'ProductModulesComponents' only. I want to add another field to it eg 'Services'.

 

I tried doing this but get an invalid parameter error

SortByColumns(Search(Filter(Products_1, Software<>IsNotSoftware && Hardware<>IsNotHardware && IsService<>IsNotIsService), TextSearchBox1.Text, "ProductModulesComponents" && "Services"), "ProductModulesComponents"  && "Services")

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
dhameer
Level: Powered On

Re: Add multiple parameters to search formula

okay, found the solution

 

just had to replace && with ,

 

SortByColumns(Search(Filter(Products_1, Software<>IsNotSoftware && Hardware<>IsNotHardware && IsService<>IsNotIsService), TextSearchBox1.Text, "ProductModulesComponents", "Service" ), "ProductModulesComponents")
1 REPLY 1
Highlighted
dhameer
Level: Powered On

Re: Add multiple parameters to search formula

okay, found the solution

 

just had to replace && with ,

 

SortByColumns(Search(Filter(Products_1, Software<>IsNotSoftware && Hardware<>IsNotHardware && IsService<>IsNotIsService), TextSearchBox1.Text, "ProductModulesComponents", "Service" ), "ProductModulesComponents")

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 284 members 4,331 guests
Please welcome our newest community members: