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 / gallery filter starts ...
Power Apps
Suggested Answer

gallery filter starts with does not work with a date field but does work text field

(1) ShareShare
ReportReport
Posted on by 347
 
I have a gallery browse screen where I offer the option for the user to type in a search box to filter down by date or by pn.
The shareoint list is 3000 records
The filter starts with by PN works great
Same list the filter with by Mold date fails only returning some of the ones that fit the date
IDEAS?
 
If(searchmold="Y",SortByColumns(Filter('Livingston Molds',StartsWith('Mold Date',TextSearchBox1_1.Text) And Status="Storage"),"Mold_x0020_Date",SortOrder.Ascending),SortByColumns(Filter('Livingston Molds',StartsWith(P_x002f_N,TextSearchBox1_14.Text) And Status="Storage"),"P_x002f_N",SortOrder.Ascending))
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,685 Super User 2025 Season 2 on at
    hi
     
    Yeah it wont work its a date. you should have to turn the date into Text and I do NOT recommend that because you will have delegation screaming at you.
  • Suggested answer
    Ravindra Jadhav Profile Picture
    342 Moderator on at
    you can convert mold date column in text, and then you can use, like below
    If(searchmold="Y",SortByColumns(Filter('Livingston Molds',StartsWith(Text( 'Mold Date'),TextSearchBox1_1.Text) And Status="Storage"),"Mold_x0020_Date",SortOrder.Ascending),SortByColumns(Filter('Livingston Molds',StartsWith(P_x002f_N,TextSearchBox1_14.Text) And Status="Storage"),"P_x002f_N",SortOrder.Ascending))
    
     
    Please Closed the Question, Mark it Solved 
     
    If my answer helped resolve your issue, please consider marking it as solved to assist others facing the same problem. Additionally, giving it a like would be greatly appreciated and motivates us to keep helping
     
    Thank You
    Ravindra Jadhav

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
Kalathiya Profile Picture

Kalathiya 421

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard