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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard