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 / How to use Search for ...
Power Apps
Answered

How to use Search for different textboxes and columns

(0) ShareShare
ReportReport
Posted on by 243

I want to search 2 columns based on 2 textinputs 

 

Search('[GLOBUS_APP].[V7110_CASE_REQ_FAM_DETAILS]', TextInput2_1.Text,"C207_SET_ID") || Search('[GLOBUS_APP].[V7110_CASE_REQ_FAM_DETAILS]', TextInput2.Text,"FIELD_SALES_NAME")

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at
    Search('[GLOBUS_APP].[V7110_CASE_REQ_FAM_DETAILS]', TextInput2_1.Text,"C207_SET_ID","FIELD_SALES_NAME")
  • SumanKoduri Profile Picture
    243 on at
    I need to search Set id based on Text box 1 and FIELD_SALES_NAME based on Text box 2
     
     
  • eka24 Profile Picture
    20,925 on at
    Are you filtering a gallery?
  • SumanKoduri Profile Picture
    243 on at

    No for Datatable

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    HI @SumanKoduri ,

    Could you please share a bit more about your scenario?

    Do you want to filter your 2 columns based on 2 Text Inputs at same time within your Data Table? Or just filter your data table records based on the typed search text within the Two Text Inputs?

     

    Based on the needs that you mentioned, I think the Filter function could achieve your needs. I have made a test on my side, please consider take a try with the following workaround:

    Set the Items property of the Data Table to following:

    Filter(
     '[GLOBUS_APP].[V7110_CASE_REQ_FAM_DETAILS]',
     If(
     IsBlank(TextInput2_1.Text) || TextInput2_1.Text = "",
     true,
     StartsWith(C207_SET_ID, TextInput2_1.Text)
     ),
     If(
     IsBlank(TextInput2.Text) || TextInput2.Text = "",
     true,
     StartsWith(FIELD_SALES_NAME, TextInput2.Text)
     )
    )

    Note: The above filter formula would filter your Data Table records only when you type search text within any one or both of the Two Input Boxes, otherwise, it would display all records from your data source within the Data Table.

     

    Please take a try with above solution, check if the issue is solved.

     

    Best regards,

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard