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 / Delegation Question
Power Apps
Unanswered

Delegation Question

(0) ShareShare
ReportReport
Posted on by 196

Hey everyone, 

 

I'm running into some delegation errors and I was curious if there might be a fix to my formula that I'm not aware of.  Could someone take a look and see if there's a different formula I could add to get away from the delegation issue?

 

        
!IsBlank(LookUp('Brad''s Maintenance Calendar',DateValue(SDate)= DateAdd(_firstDayInView,ThisItem.Value, TimeUnit.Days)).'Equipment Name')
 
The delegation warning refers to the DateValue(SDate) section.  For reference, SDate is referring to a calculated column in SharePoint that is producing just the "Date" from a Date/Time column separately.  Equipment name is a simple Text column.
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,983 Most Valuable Professional on at

    Hi @DerrickH ,

    First what is your Data Source, how many records are likely to be in it and what type of field is SDate ? You are correct that DateValue() is not Delegable and you also have an issue with your DateAdd relational lookup.

  • DerrickH Profile Picture
    196 on at

    Hello @WarrenBelz , 

     

    Data Source is a SharePoint List and I can't imagine more than 100 records per month being added to the list.  The field "SDate" is a calculated date column, which is pulling data from a separate date/time column.  I originally tried the first date/time column in place of the "SDate" column in the originally formula, though I couldn't seem to get it to work, because of the time value associated with the date/time column.

  • WarrenBelz Profile Picture
    155,983 Most Valuable Professional on at

    @DerrickH ,

    That explains the issue somewhat. SharePoint Calculated columns are far from reliable/consistent with Power Apps and really should not be used. They are also not Delegable. You can do the same calculation in Power Apps as you should have the relevant fields available.

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • DerrickH Profile Picture
    196 on at

    @WarrenBelz 

    I'm not very familiar with doing this specific calculation in powerapps, could you explain?

  • WarrenBelz Profile Picture
    155,983 Most Valuable Professional on at

    @DerrickH ,

    I would need to know the Calculation in SharePoint, however you still may have Delegation issues - it is far better to populate a Date column with the result any time you change any of the dependant values.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard