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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / filter a Gallery with ...
Power Apps
Unanswered

filter a Gallery with a few of Keywords in a Textbox

(0) ShareShare
ReportReport
Posted on by 13

Hello I would like to filter a gallery using a text box. But I would like to enter more than one keyword as a filter. As a result, only the entries should remain above where each keyword occurs.

 

As an an example:

This is my Gallery:

No1: Bla Bla Bla 

No2: Blu Bla Blu

No3: Blo Bla Blu

No4: Bli Blu Blo

 

in the Textbox I enter: "bla blu"

Result should be: No2 and No3

 

or

 

in Textbox enter: Blo Bli Blu

Result should be: No4

 

For two words my Code works but I had no idea how it works for more words.

This is my Code:

 

 

 

Filter(
Galery;
First(
Split(
TextSearchBox1_1.Text;
" "
)
).Result in 'Details:';
Last(
Split(
TextSearchBox1_1.Text;
" "
)
).Result in 'Details:'
)

 

 

 

 

 

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Ch3 
    The functionality you are asking for does not exist in Power Apps.  You cannot search for a text string and find record that is ordered differently.  The words must be in the same order.

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard