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 warning SP ...
Power Apps
Answered

Delegation warning SP Column

(0) ShareShare
ReportReport
Posted on by 3,295

Hi there,

 

Quick question here?

 

I have a column in sharepoint where my app gets the first value in that column and add the next consecutive value. i.e if the number is 9000 the new one will be 9001

I have the app set to 500 items and we already surpass that number. So now we are getting the delegation warning. Below is the formula. Any possible workaround to fix this?

 

First(Sort('Jobs',Value(Inspections),Descending)).Inspections+1

 

Thanks in advance.

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @sajarac First is a non-delegable function.
    Try this,

    With(
    	{varJobs: Sort('Jobs',Value(Inspections),Descending)};
    	First(varJobs).Inspections+1
    )
  • Sajarac Profile Picture
    3,295 on at

    Hey @CNT , thank you very much for your prompt response.

     

    However I am getting this:

    sajarac_0-1623691648221.png

     

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @sajarac change the semicolon before First to a comma. 

  • Sajarac Profile Picture
    3,295 on at

    Changed, but the column "Inspections" which is a number still complaining and producing a delegation warning.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @sajarac where is the warning? In the Sort or First? 

  • Sajarac Profile Picture
    3,295 on at

    The sort

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @sajarac then bring that also along with the First. 

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sajarac 

    If your Inspections column is numeric, then you do not need to use Value.  Using a formula in your criteria will lead to delegation warnings.

    So, your formula should be:

    With({_items: Sort('Jobs', Inspections, Descending)},
     First(_items).Inspections + 1
    )

     

    I hope this is helpful for you.

  • Sajarac Profile Picture
    3,295 on at

    sajarac_0-1623697692050.png

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sajarac 

    Ah...baby Yoda is back!! 😁  You know...I got a Baby Yoda tshirt the other day...can't image where I see that so much. 😂

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard