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 / Using Date value while...
Power Apps
Suggested Answer

Using Date value while filtering gallery gives delegation error and filter doesnot work properly.

(0) ShareShare
ReportReport
Posted on by 52
I have a date value which is stored as string in sql.It is named as 'extracted_date'. I fetch the date value into a gallery in power apps. Now I want to filter the 'extracted_date' column using a range with 2 date picker controls.(date_picker1,date_picker2)

In the gallery Items property, I use the below formula
Filter(datasource,DateValue(extracted_date)>date_picker1.selecteddate,Datevalue(extracted_date)<=date_picker2.selecteddate).
But I get delegation error and the data is not displaying at all in the gallery. I have the delegation limit set to 500 in the advanced settings.
How to get rid of the delegation error.
Categories:
I have the same question (0)
  • Suggested answer
    Ravindra Jadhav Profile Picture
    342 Moderator on at
    Hii, you are comparing 2 different data types that why you are getting this error, you can try to convert both the column same data type, or you can use add column to remove delegation warming 
     
    you can see bewlo 2 referance i attched
     
     
     
     
     
    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard