cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Cooper01
Level: Powered On

Delegation warning not going away on SharePoint date only field

I have a gallery which I'd like to use to display SharePoint list items where a value in a date only field is less than some value. From googling this, it seems like the Filter should work if the date value to filter is a constant, however I am still getting a warning. This is my filter:

 

Filter(Employees, 'Start Date' <= Date(2020, 2, 14))

 

Am I misunderstanding the articles? Is there no way to use filter on a date field in SharePoint without getting the delegation warning? 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Level 8

Re: Delegation warning not going away on SharePoint date only field

Hi @Cooper01 ,

Firstly, date queries are not delegable in SharePoint data sources, so your warning is expected.

There are a couple of workarounds.

The first is to collect the data if you can do this directly or with a delegable filter to produce less than 2000 records.

The second is to have a numeric field in your data source and update it to a number in the format yyyymmdd when the date is entered, so can query that without delegation issues.

Happy to help further if required.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Delegation warning not going away on SharePoint date only field

@Cooper01 

Unfortunately, dates cannot be delegated in SharePoint 😞

 

The current workaround is to store the date in a number format instead.

 

sss.png

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

WarrenBelz
Level 8

Re: Delegation warning not going away on SharePoint date only field

Hi @Cooper01 ,

Firstly, date queries are not delegable in SharePoint data sources, so your warning is expected.

There are a couple of workarounds.

The first is to collect the data if you can do this directly or with a delegable filter to produce less than 2000 records.

The second is to have a numeric field in your data source and update it to a number in the format yyyymmdd when the date is entered, so can query that without delegation issues.

Happy to help further if required.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,353)