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 / Sum and Help Avoiding ...
Power Apps
Answered

Sum and Help Avoiding a Delegation Flag

(0) ShareShare
ReportReport
Posted on by 193

Can someone assist me with avoiding this delegation flag associated with Sum. 
The delegation flag... the stuff simple nightmares are made of. 
Thank you in advance. 

 

Text(Sum(
Filter(
Gateways,
'VDates' >= DatePicker1.SelectedDate,
'VDates' <= DatePicker2.SelectedDate,
Gateways.Value = "FJ",
BPR.Value = "Y"),
NTEI
) / Sum(
Filter(
Gateways,
'VDates' >= DatePicker1.SelectedDate,
'VDates' <= DatePicker2.SelectedDate,
Gateways.Value = "FJ",
BPR.Value = "Y"),
NTEI_Total
) * 100,"0%")

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

    @kgordish 

    With({wGate:Filter(
     Gateways,'VDates' >= DatePicker1.SelectedDate,
     'VDates' <= DatePicker2.SelectedDate, 
     Gateways.Value = "FJ",BPR.Value = "Y"
     ),
     num: Sum(wGate,NTEI),
     denom: Sum(wGate NTEI_Total)
     },
     Text(num/denom*100,"0%")
    )
  • kgordish Profile Picture
    193 on at

    This formula works. Added a comma prior to NTEI_Total.
    Still getting a delegation warning. With num and denom sum. 

     

    With({Gateways:Filter(
    Gateways,'VPP Dates' >= DatePicker1.SelectedDate,
    'VPP Dates' <= DatePicker2.SelectedDate,
    Gateways.Value = "FDJ",BPR.Value = "Y"
    ),
    num: Sum(Gateways,NTEI),
    denom: Sum(Gateways, NTEI_Total)
    },
    Text(num/denom*100,"0%")
    )

     

    With({wGate:Filter(
     Gateways,'VDates' >= DatePicker1.SelectedDate,
     'VDates' <= DatePicker2.SelectedDate, 
     Gateways.Value = "FJ",BPR.Value = "Y"
     ),
     num: Sum(wGate,NTEI),
     denom: Sum(wGate NTEI_Total)
     },
     Text(num/denom*100,"0%")
    )

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @kgordish 

    If you are not having more than 2k items in your filtered Gateway list, then you can ignore it.  For another approach, see @mdevaney 's blog post here https://www.matthewdevaney.com/sum-rows-in-a-sharepoint-list-with-no-delegation-warnings/ 

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard