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 gallery by date...
Power Apps
Unanswered

Filter gallery by date range using differing date formats

(0) ShareShare
ReportReport
Posted on by 202

I have a gallery running off SQL Server View with records having a StartDate and Stock_Date fields.

I want to filter by StartDate within a range using StartDate and EndDate Date Picker controls.

 

Stock_Date>=DateStart.SelectedDate And Stock_Date<=DateEnd.SelectedDate 

works

 

but 

 

StartDate>=DateStart.SelectedDate And StartDate<=DateEnd.SelectedDate

does not work

 

Stock_Date is type: datetimeoffset(7)

StartDate is type: date

 

I am assuming the different types are the root of the problem.

Can anyone help me to get evaluations to work without falling into non-delegable rules?

 

Thanks,

 

Larry

 

 

Categories:
  • Manan-Malhotra Profile Picture
    621 Super User 2024 Season 1 on at

    Try it this way

    Filter(Source,StartDate>=DateStart.SelectedDate,StartDate<=DateEnd.SelectedDate)
  • lknudson1 Profile Picture
    202 on at

    Thanks for the reply, but it didn't change the results.

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

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard