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 / Do I need to worry abo...
Power Apps
Answered

Do I need to worry about a delegation warning?

(0) ShareShare
ReportReport
Posted on by 6

I've been reading everything I can and haven't figured out the answer.

If I do something like... "Sum(Filter(SharePoint List, FiscalYear = 2022 && ItemName = "Chocolate"), Cost)" I get a delegation warning because Sum is not delegatable. I totally get that, however, I know my filter will never result in more than 12 possible records. There could be a million rows of data in the SharePoint list, but no item is ordered more than 1x each month and I only want 1 years worth of orders for 1 product and therefor, I will only ever have a maximum of 12 records being summed.

In this scenario, can I ignore the delegation warning? Or is there some other way around it that would result in 1st getting my max 12 records and then summing them?

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @MGaddict 

     

     With({fltrd:Filter(SharePoint List, FiscalYear = 2022 && ItemName = "Chocolate")}, 
     Sum(fltrd,Cost)
    )

    Will be accurate as long as the filter produces less than the Row maximum in settings. 

     

     

     

  • MGaddict Profile Picture
    6 on at

    Thank you and I will mark this as the solution however, I'm curious...

    This eliminates the delegation warning, but what would happen if that resulted in over 500 records? Would it still just sum the 1st 500 and ignore the rest without giving you a warning about it?

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @MGaddict 

    Aggregate functions are not delegatable in SharePoint but are in Dataverse. 

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @MGaddict 

    Aggregate functions are not delegatable in SharePoint but are in Dataverse. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard