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 confusion
Power Apps
Answered

delegation confusion

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

In trying to figure out this issue myself (as well as reading though past discussions), I created 2 data sources for my Audit table, excel and sharepoint. When my gallery filters using the sharepoint list, I get a delegation warning. When I have this gallery use the excel table, I do not get a delegation warning. In both instances however, my gallery does not show any records past the 2000th. There are currently 4358 records and counting.

 

Sharepoint list - delegation warning

delegation warning - sharepoint list.JPG

 

Excel table - no delegation warning

no delegation warning - excel table.JPG

Categories:
I have the same question (0)
  • SoPatt Profile Picture
    Microsoft Employee on at

    https://docs.microsoft.com/en-us/connectors/sharepointonline/

     

    Quote:

    A formula such as Filter(..., IsBlank(CustomerId)) won't delegate to SharePoint. However, that formula is semantically close to Filter(..., CustomerId = Blank()), which will delegate to SharePoint. These formulas aren't equivalent because the second formula won't treat the empty string ("") as empty. However, the second formula might work for your purposes. On SharePoint, this approach will work for the equals operator ("=") but not the operator for not equals ("<>").

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Based on the formula that you provided, I think you have faced a Delegation warning issue with your formula.

     

    Currently, within PowerApps, the Filter(..., IsBlank(CustomerId)) formula could not be delegated to SP list data source.

    Please check the following article for more details:

    https://docs.microsoft.com/en-us/connectors/sharepointonline/#powerapps-delegable-functions-and-operations-for-sharepoint

    In addition, the If() function could also not be delegated within Filter function in PowerApps.

     

    As an alternative solution, I have made a test on my side, please take a try with the following workaround (set the Items property of the Gallery to following😞

    If(
     IsBlank(radio_AUDITTYPErec.SelectedText.Value),
     Filter(Audits, Student = cboxSTUDENTrec.Selected.Student),
     Filter(Audits, Student = cboxSTUDENTrec.Selected.Student, Audit = radio_AUDITTYPErec.SelectedText.Value)
    )

    Please take a try with above solution, check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @v-xida-msft for your help! the formula worked perfectly. I do have one other question about the SP list reaching it's 5000 limit. I don't foresee using the SP for anything other than record storage, so will this affect the running of my app?

     

    sharepoint 5000 list view limit.JPG

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 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard