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 / Search DataTable from ...
Power Apps
Unanswered

Search DataTable from multiple columns

(0) ShareShare
ReportReport
Posted on by 118

Hi Folks,

 

I have a DataTable (Excel DataSource) with multiple columns and need to filter/search from all of columns from 1 TextInput. But it works only for 1 column 

How can I change it well? 

Filter(Table5,StartsWith(Text('SERIP Progress'),TextInput4.Text))

Yerlasdutco_0-1669030102686.png

 

 

Categories:
  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @Yerlasdutco 

     

    Use the search function for this.

     

    Search( Table, SearchString, Column1 [, Column2, ... ] )

     

    In your case:

    Search( Table3, TextInput4.Text, 'Project Title','Project No.' )

     

    Detailed documentation here:

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-filter-lookup

     

  • Yerlasdutco Profile Picture
    118 on at

    @cha_cha 

     

    Tried and not working for me 

    Yerlasdutco_0-1669030761010.png

     

  • cha_cha Profile Picture
    4,932 Moderator on at

    What's the name of your data source?

  • Yerlasdutco Profile Picture
    118 on at

    @cha_cha 

     

    Table5

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello, 

     

    can you pass me your source data so I can try to replicate it here? It's a bit tricky guessing certain words.

  • Yerlasdutco Profile Picture
    118 on at

    @cha_cha 

    Sure, is excel file. Table5 is MCP sheet

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @Yerlasdutco 

     

    I was testing your data source and I think it's not searching because it's from an Excel Data Source. I tried Filter function too but it still the same.

     

    A workaround that I did was to move to a Collection and Filter the collection.

    ClearCollect(TableX,Table5)

    Please watch this short clip to see what happens. I put Table5 data to TableX collection

    https://youtu.be/Yxx7RYiEBdQ

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Yerlasdutco

    Excel is a terrible datasource, for many reasons. See https://www.google.com/url?sa=t&source=web&rct=j&url=https://m.youtube.com/watch%3Fv%3DRtmZM3tm2Zs&ved=2ahUKEwjzkJuAvL_7AhVDIkQIHaRfATYQo7QBegQIBxAB&usg=AOvVaw1d8T7aJR_7eBmvEQZw4men

    @cha_cha 's solution will work but you likely will run into other problems with it. I suggest that you move it to SharePoint. SharePoint also has some limitations but not like Excel

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard