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 by column and u...
Power Apps
Answered

Filter by column and use a textinput

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

 

I have a galley with 7 columns and in each column have diferent data

 

I need a formula where I can filter for the column that I will select and search about the data that I will write in the textinput

 

I hope understand me and give your help.

 

Thanks

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

    @Anonymous 

    Put code like this in the Items property of drpdown_FilterColumn

    ["Column1","Column2","Column3"]

     

    I would suggest some code like this in the Items property of your gallery.

     

    Filter(
     your_datasource_name,
     (drpdwn_FilterColumn.Selected.Value="Column1" And StartsWith(Column1, TextInput1.Text))
     Or (drpdwn_FilterColumn.Selected.Value="Column2" And StartsWith(Column2, TextInput1.Text))
     Or (drpdwn_FilterColumn.Selected.Value="Column3" And StartsWith(Column3, TextInput1.Text))
    )

     

     

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

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello

    I don´t know what is my mistake

     

    This is my formula

     

     

    formula.JPG

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard