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 gallery using M...
Power Apps
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.

I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    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

  • ivandgreat Profile Picture
    43 on at

    still unable to work using filter.

  • TuongDoan Profile Picture
    573 Moderator on at

    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

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

  • ridhan Profile Picture
    158 on at
    Can you please share the code if it is working for you as i am also looking the same.
     
    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard