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 with DatePicker
Power Apps
Unanswered

Filter with DatePicker

(0) ShareShare
ReportReport
Posted on by 1,265

I have the following gallery filter but am receiving a delegation error on the info in "blue".  Also, the Filter is not providing the appropriate information.  Any suggestions? 

 

Filter(
[@MEWPInspection],
StartsWith(
MEWPWO,
tbSearchWO.Text
) && (CreatedByDN = ComboBox1.Selected.Value || ComboBox1.Selected.Value = Blank()) && (Text(
Created,
DateTimeFormat.ShortDate
) = Text(
DatePicker1.SelectedDate,
DateTimeFormat.ShortDate
) || Text(
DatePicker1.SelectedDate,
DateTimeFormat.ShortDate
) = Blank())
)

Categories:
  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @RJF61 

    This would be the delegable version of the formula.

    Filter(
     [@MEWPInspection],
     StartsWith(
     MEWPWO,
     tbSearchWO.Text
     ) && (
     CreatedByDN = ComboBox1.Selected.Value ||
     ComboBox1.Selected.Value = Blank()
     ) && (
     Created = DatePicker1.SelectedDate || 
     IsBlank(DatePicker1.SelectedDate)
     )
     
    )
    

     

    The reason why the formula doesn't return the expected rows could be due to delegation. The other reason is that your source Created column may contain values with a date and time component. Therefore, testing against DatePicker1.SelectedDate (ie, a date with a time of 00:00), may not return the records that you expect.

     

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard