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

Filter using multiple keywords to SQL



I am trying to build a filter formula, which can filter a SQL data source for multiple keywords in a single column. 

I have concatinated the values I want to search in into a single column like this:


Car red xl 2

Bike blue xl 4

Car blue m 2


so if my search text box has the values "Car xl" only the first row should be returned


I have tried the solution mentioned by @CarlosFigueira here:


but the solution does not seem to delegate the filter function. I guess it's the use of find(), which is the problem. I have <2,000 records in the table, so I need the filter funciton to be delegated to SQL.


Any suggestions?


Thanks in advance!


Frequent Visitor

Correction to the above: I have > 2,000 records Smiley Happy

Hi @Thomas_Pyndt 


If you have > 2000 records, then read in the first 2000 records (ClearCollect(mycollection,<DataSource>);

Then read in the rest of the records (assuming they are less than 4000 records) Collect(mycollection, Filter (DataSource, ID > 2000)).


Then you can manipulate mycollection to your heart's content as there will be no delegation issues with collections.





Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,503)