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 / 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

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

#2
Kalathiya Profile Picture

Kalathiya 340

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard