cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jrldscrpz
Helper I
Helper I

How can I Fix this Delegation Warning

Good Day, I am having a hard time  with this "Delegation Warning The highlited part of this formula ..."  . How will I fix this? Any recommendations please. See the Screenshot for better understanding. Thank you very much

1 ACCEPTED SOLUTION

Accepted Solutions

Sorry for the Very Late Reply.

So what I did was I transfer the data of my sharepoint list into a  collection, and I did the filtering in my collection. It works fine

Thank you very much!

View solution in original post

3 REPLIES 3
Jrldscrpz
Helper I
Helper I

Up

iAm_ManCat
Super User II
Super User II

Hi,

 

I'm going to assume you are using SharePoint as a storage medium based on the error - You can't currently filter by date range as a delegable action from SharePoint, only number fields (not date fields) - see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-list

 

Also, just to clarify on your formula (if it Was possible) - your formula is saying that the Created date is Less Than the From Date, and Greater Than the To date, so that's choosing any dates that are outside of the date range you set.

I think what you wanted was to say was: 

> fromDate

< toDate

 

Additionally, if you move your backend to Azure SQL you will be able to delegate < > date filtering by using a calculated number field of format YYYYMMDD (doing this from SharePoint will still incurr the issue with delegation, so it must be from Azure SQL).

 

@PaulD1's older post highlights this ( https://powerusers.microsoft.com/t5/General-Discussion/Gallery-Filter-by-a-date-SharePoint-List-Part... )

 

Hope this helps!

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Sorry for the Very Late Reply.

So what I did was I transfer the data of my sharepoint list into a  collection, and I did the filtering in my collection. It works fine

Thank you very much!

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,198)