Announcements
Hello,
I have a List called Mentor List. I have to create a profile looking app where user can filter the list and can find their mentor. I created a gallery but I need help to add filter/search function. Mentor name is a People Picker field and I am not sure how to add filter so that user can find a mentor. Please help !
Hi @jasminepatel90
Try this formula,
Filter( 'Mentor List', IsBlank(txtSearch.Text) || StartsWith( Mentor.DisplayName, txtSearch.Text ))
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.
Thank you for replying back to me but when I try to add second part of the code which is || startswith(Mentorname.displayname,textsearch.text)) but its not reading my column name am I missing anything ?
Can you try this formula,
Filter('Mentor List',IsBlank(txtSearch.Text) || StartsWith(Mentor.DisplayName, textSearch.Text) ||StartsWith(MentorName.DisplayName, textSearch.Text))
what about search button do I need to add anything there Onselect Properties ?
so I have this on item property of gallery
so it did show me my result but I have to type in whole name how can I add Startswith in Person column ?
This formula may solve your issue,
Filter('Mentor List',IsBlank(txtSearch.Text) ||StartsWith(Mentor.DisplayName, txtSearch.Text))
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 236 Super User 2026 Season 2
WarrenBelz 188 Most Valuable Professional
Mohsin Ali 130