web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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
    68,725 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard