web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Searching a SharePoint...
Power Apps
Unanswered

Searching a SharePoint list in PowerApps with words contained in the list title?

(0) ShareShare
ReportReport
Posted on by 16

Hello, I'm trying to create a module finder for our training products. I've been able to set up a SharePoint list with all of the module details and a search function within the App so trainees can search for the name of the course or the business area - see below image (some words have been redacted for privacy).

Sazdoug_2-1629852886551.png

 

This is currently how the search function is operating: 

Sazdoug_3-1629853050417.png

Sazdoug_0-1629856845669.png

 

 

I would like to know if there's a way that I can set up the search function to search all of the words in the title? So for example, they can still find "Entitlement Statements" by typing in "Statements" in the search bar. 

 

The modules are set up as a gallery and this is the code I currently have in place: 

 

If(
 galFilterCategories_1.Selected.Value = "All",
 Filter(
 Training,
 StartsWith(
 Title,
 tbSearchTraining_1.Text
 ) Or
 StartsWith(
 Service,
 tbSearchTraining_1.Text
 )
 ),
 Filter(
 Training,
 Service = galFilterCategories_1.Selected.Value,
 StartsWith(
 Title,
 tbSearchTraining_1.Text
 ) 
 )
)

 

 

'Title' and 'Service' are two of my columns in my SP list. galFilterCategories_1 is each of our individual services blanked out at the top. tbSearchTraining_1 is my search bar. 

 

Any help is greatly appreciated! 

Categories:
I have the same question (0)
  • Verified answer
    PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @Sazdoug ,

     

    If you directly use the search function would that be helpful in your case ?

    If( galFilterCategories_1.Selected.Value = "All", Search( Training, tbSearchTraining_1.Text , "Title") , Search(Filter( Training, Service = galFilterCategories_1.Selected.Value), tbSearchTraining_1.Text, "Title") )

     

  • Sazdoug Profile Picture
    16 on at

    Ahh yes that worked!!! Thank you so much!!

     

    Although it's coming up with a delegation warning - will this have any impact? Eventually, the SharePoint list will need to have hundreds of training modules so I don't want to cause any future issues. 

    Sazdoug_0-1629863484955.png

     

  • PriyankaGeethik Profile Picture
    3,320 Super User 2024 Season 1 on at

    Hi @Sazdoug ,

     

    If your data will be around 500 -2000 you can manage the collection by increasing the collection limit till 2000 if required. 

    But if there are chances of data more than 2000 we need to change the code. 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard