cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Filter SharePoint list based on the Keywords

We have a SharePoint list named Master Data Dictionary, we stored around 4500 items in it. We have a fields(Group, Portfolio, tables, Column name, Source etc), I got the new requirement to filter those data based on the Keywords. it's similar to like a classic SharePoint list search functionality, if you search the list based on the Keywords, it will filter those items for you.

 

My question is what is the filter condition based on the Keywords?

 

Any help is highly appreciated.

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Filter SharePoint list based on the Keywords

Hi @Ptiwari,

 

Please first try to create the app by selecting Create an app > Start with your data > SharePoint > Fill your sharepoint site URL and select this list. Then PowerApps would auto-generate the app for you. And in this app, the Items property of the Gallery control be default is:

SortByColumns(Filter(ListList, StartsWith(Title, TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))

Capture.PNG

 

With this formula, you could type keywords of the Title column and the results would show in the Gallery.

 

About the related functions used:

Filter:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

SortByColumns:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: Filter SharePoint list based on the Keywords

You can try the Filter function to see if it works the way you are hoping. Just becareful for delegation. https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-list 

Shane - Microsoft MVP, YouTube, and PowerApps Consulting for when you are in a bind to get this fixed quickly. And finally we now have PowerApps Training
Highlighted
Helper I
Helper I

Re: Filter SharePoint list based on the Keywords

Hi Shane,

 

Thanks for responding back, but the above link is not working, can you please provide me a correct link?

 

Thanks, Pooja

 

Highlighted
Community Support
Community Support

Re: Filter SharePoint list based on the Keywords

Hi @Ptiwari,

 

Please first try to create the app by selecting Create an app > Start with your data > SharePoint > Fill your sharepoint site URL and select this list. Then PowerApps would auto-generate the app for you. And in this app, the Items property of the Gallery control be default is:

SortByColumns(Filter(ListList, StartsWith(Title, TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))

Capture.PNG

 

With this formula, you could type keywords of the Title column and the results would show in the Gallery.

 

About the related functions used:

Filter:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

SortByColumns:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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