Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Filter gallery using Multiline Textinput

(1) ShareShare
ReportReport
Posted on by 43

I have a gallery, usually im using a textinput to filter my gallery which my filter/search is working fine.

But if i wanted to filter my gallery using a multiline textinput, i'm having a trouble to get the filtering or searching works.

 

this is my textinput example

 

C1512
C1108
C0880
C4667

 

i wanted to filter my gallery based on this values for each lines.

my code that im working now , 

 

With(
{
pasteData: Filter(
Split(
txtSearchCap_1.Text,
Char(10)
),
!IsBlank(Value)
)
},
ForAll(
pasteData As Y,
Collect(
ColText,
Search(
AddColumns(
Transport,
SITE,
'Site ID'
),
Y.Value,
SITE
)
)
)
)

 

Anyone could help me out to work on this. TIA.

  • ridhan Profile Picture
    158 on at
    Filter gallery using Multiline Textinput
    Can you please share the code if it is working for you as i am also looking the same.
     
    Thanks
  • ivandgreat Profile Picture
    43 on at
    Re: Filter gallery using Multiline Textinput

    this doesn't work for me, since it has a delegation error working on large dataset.

  • TuongDoan Profile Picture
    550 Super User 2025 Season 1 on at
    Re: Filter gallery using Multiline Textinput

    Try this:

     

    Screenshot 2024-04-28 at 4.55.50 AM.png

     

    ---------------------------

    If the solution I provided assisted you in resolving this issue, kindly select "Accept as solution" This will help others in finding the solution more expediently 😄Also, a Thumbs up would be a great compliment!

  • ivandgreat Profile Picture
    43 on at
    Re: Filter gallery using Multiline Textinput

    still unable to work using filter.

  • v-bofeng-msft Profile Picture
    on at
    Re: Filter gallery using Multiline Textinput

    Hi @ivandgreat ,

     

    You could use a combination of Filter and in to perform fuzzy queries directly.

    Filter(Transport,'Site ID' in txtSearchCap_1.Text)

     

    Best Regards,

    Bof

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 109 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 82 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 72

Overall leaderboard