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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps Filter Date...
Power Apps
Unanswered

Power Apps Filter Date table using Text-input control

(0) ShareShare
ReportReport
Posted on by 67

Hi Members,

 

I have a requirement in Power Apps to filter the data table using text-input control [With SharePoint list]

 

I have a SharePoint list [Power Platform Training], with various columns like:

  • Text
  • Choice
  • Currency
  • Date and time

 

filter.png

 

 

 

 

 

 

 

 

Using this SharePoint list, I need to filter the Power Apps data table using Text-input control.

 

For Example,

 

When a user searches for any column values in a text-input control, the data table should filter and display the data based on the provided text.

 

 

filter1.png

 

 

Can anyone please suggest how I can achieve this? Thanks in advance!

Categories:
I have the same question (0)
  • VaidasG Profile Picture
    469 on at
    Re: Power Apps Filter Date table using Text-input control

    Hi @Hemashree,

     

    You can use DateValue formula to pass your TextInput.

    DateValue(TextInput1.Text)

     

    Regards
    VaidasG

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • HM-22080408-0 Profile Picture
    67 on at
    Re: Power Apps Filter Date table using Text-input control

    Hi @VaidasG 

     

    I need to filter any column values, not only the date column, then how can I achieve this?

  • VaidasG Profile Picture
    469 on at
    Re: Power Apps Filter Date table using Text-input control

    Hi @Hemashree,

     

    Assuming your "Course start date" column in your table is cast as string, you could use something like:

    Search('Your Data Source', TextInput1.Text"User ID""Course", "Course Start Date", "Course Cost")
     
    Regards
    VaidasG

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
  • HM-22080408-0 Profile Picture
    67 on at
    Re: Power Apps Filter Date table using Text-input control

    Hi @VaidasG 

     

    As you said, I tried it, but it only supported text-type columns, as shown below:

     

    Filter3.png

     

    But my SharePoint list has different types of columns like:

     

    • User ID = Title column
    • Course = Choice type column
    • Course Start Date = Date and time column
    • Corse Cost = Currency column

     

    How can I filter those in a data table using text input control? Please suggest how I can achieve this. 

  • WarrenBelz Profile Picture
    152,847 Most Valuable Professional on at
    Re: Power Apps Filter Date table using Text-input control

    You can only search Text fields - you need to convert the others

    Search(
     AddColumns(
     DataSource,
     "CourseStart",
     Text('Course Start Date',ddmmyyyy'),
     "CourseName",
     Course.Value,
     "CourseCost",
     Text('Course Cost')
     ),
     YourSearchBox.Text, 
     "User ID", 
     "CourseName",
     "CourseStart",
     "CourseCost"
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

    Hi @Hemashree ,

  • VaidasG Profile Picture
    469 on at
    Re: Power Apps Filter Date table using Text-input control

    @Hemashree 

     

    Done quick test on my side:

    • Create a collection for your data:
    ClearCollect(colTableContent, AddColumns(ShowColumns('Power Platform Training'"Title""Course""CourseStartDate","CourseCost"),"CourseText",Text(Course),"CourseStartDateText",Text('CourseStartDate'), "CourseCostText",Text('CourseCost')))
    • Use this collection in your table -> choose text version of your non-text columns
    Search(colTableContent,TextInput1.Text,"Title","CourseText","CourseStartDateText","CourseCostText")
     
    Hope this helps 😀
     
    Regards
    VaidasG

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard