I have an application where I am doing a search on a SQL Table to return records based on who is logged in and that part works. Now I want to either do another search based on those returned results or filter of those results based on what someone is searching on in a text box.
I've tried filter when using on prem-SQL and the results take forever so I went with search statement instead and it's much much quicker. Is there something wrong in my filter statement? or is filter that much slower than search?
Here is the formula I'm using on Items to display in a gallery.
Filter Function: (Very Slow) but it returns data based on OwnerName who is logged in
I get results back in the gallery but now I want to add a search box that will search / filter the first results returned.
So the search is first on Owner Name but that might return 400 rows and to limit that further I want a search box that a user could type information in that would further filter this data down so it's more usable.
This is all tied back to a SQL on-premise backend.
Any suggestions or help would be greatly appreciated.
Hi @PowerAppsJunkie - our Community Support Team helped a user with a similar question. I will include the link to the post and the answer from CST below. Please review when you have time and advise if this is what you're looking for.
For your first question, do you want to create a search bar within your app? More details about create a search bar within PowerApps app, please check and see if the following video would help in your scenario:
In addition, I think the "List Screen" (Screen template) could also achieve your needs. The "List Screen" (screen template) as below:
When you add a "List screen" within your app, it would generate a screen which contains a Search bar box and a gallery automatically as below:
For your second question, do you want to send an reply email within your app? If you want to send an email within your app, I think the Office365.SendEmail()function could achieve your needs. Before using Office365.SendEmail() function, you need to add a Office 365 Outlook connection within your app.
More details about the Office365.SendEmail() function, please check the following article: