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 / Sudden delegation warn...
Power Apps
Unanswered

Sudden delegation warning, SortByColumns and Sort

(3) ShareShare
ReportReport
Posted on by 439

My app did not have these delegation warnings for the versions using powerapps release 3.20092.39, but today the powerapps release is 3.20093.27 and it seems to have caused a new problem. This is happening in multiple applications.
On the code below I get:
"Delegation warning. The "SortByColumns" part of this formula might not work correctly on large data sets as its direct inner function blocks the delegation of all upper-level functions."

 

 

SortByColumns(
Distinct(
 If(
 !IsBlank(_filterUser) && !IsBlank(_filterApp) && !IsBlank(_filterLocation) && !IsBlank(_filterArea),
 Blank(),

 !IsBlank(_filterApp) && !IsBlank(_filterLocation) && !IsBlank(_filterArea),
 Filter(
 IC_UserSecurities,
 'Security App'.'App Name' = _filterApp,
 'Security Location'.'Location Name' = _filterLocation,
 'Security Area'.'Area Name' = _filterArea
 ),

 !IsBlank(_filterLocation) && !IsBlank(_filterArea),
 Filter(
 IC_UserSecurities,
 'Security Location'.'Location Name' = _filterLocation,
 'Security Area'.'Area Name' = _filterArea
 ),

 !IsBlank(_filterApp),
 Filter(
 IC_UserSecurities,
 'Security App'.'App Name' = _filterApp
 ),

 //default
 IC_UserSecurities 
 ), 
 'Security User'.'Full Name'
), "Result", Ascending)

 

This code is in a combobox Items property. It worked perfectly yesterday.

Categories:
  • RBoneck Profile Picture
    439 on at

    It appears that powerapps may be having an issue actually detecting all delegation issues in complex formulas. I would recommend going into settings and temporarily changing your delegation limit to 1, so that you can see everywhere that will be a problem regardless of how many records you have in the table or where the warnings say the delegation problems are.

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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard