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 limit - wit...
Power Apps
Answered

Delegation limit - within a Sum() function

(0) ShareShare
ReportReport
Posted on by 523

I wondered if someone could help me. I understand that the Sum() function is subject to the delegation limit. But if I placed a delegable function within the Sum() function, am I right thinking that the delegable function would still work with delegation.

i.e. I have the following formula:

Filter(Projects,'Approx Close'>=Date(Year(Today()),1,1),'Approx Close'<=Date(Year(Today()),12,31),'Opportunity Status'.Forecasting="Sold"||'Opportunity Status'.Forecasting="Closed")

which (being delegable) filters 3000 projects down to  100 instances.

Am I correct thinking I can then use the sum function in order to calculate the total of the "proj value" column eg:.

Text(Sum(Filter(Projects,'Approx Close'>=Date(Year(Today()),1,1),'Approx Close'<=Date(Year(Today()),12,31),'Opportunity Status'.Forecasting="Sold"||'Opportunity Status'.Forecasting="Closed"),'Proj. Value ($)'),"[$-en-US]$#,###.00")

 And still have the formula work on those 100 project instances?

I hope that makes sense!

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,599 Most Valuable Professional on at

    Yes, that should work.  But you will still get the delegation warning on the Sum() because the editor isn't sophisticated enough to detect that the inner function will bring the list items below the data row limit.  The fact that you are using an inner function doesn't guarantee that it will filter the list below the limit.  But if you know it will then you can safely use he non-delegable SUM() even though the editor gives a warning.

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 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard