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 / Multiple search on a d...
Power Apps
Answered

Multiple search on a database

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi community,

 

I have a Power App. I added a textsearchbox and a gallery. I connected the gallery to a datasource. In a column from the datasource I have a large string and when I type in the textsearchbox (e.g. python,java) I want to have in the gallery those records that have python and java. How can I achieve this?

 

Thank you!

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous Try this,

    Filter(yourDataSource, yourColumnName in textsearchbox.Text)

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Have you solved your problem?

    Do you want to filter the Gallery based on search box with multi strings?

    Could you please tell me that if you want both the strings you input or either of them you input?

     

    If you want to filter the records that including python and java in a column at the same time, you should try to set the Gallery Items property as below:

    Filter([@Actions], TextSearchBox1.Text in MultiLine)

    vqiaqimsft_0-1637044183456.png

    If you want to filter the records that including python or java, you should refer to the formula from @CNT.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-qiaqi-msft ,

     

    I've managed to solve this issue. I create four textboxes and added a formula 

    Filter([@Actions], TextSearchBox1.Text in MultiLine)

    with the and operator and it's working. 

     

    Best regards,

    Andrei

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard