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

delegation confusion

(0) ShareShare
ReportReport
Posted on by

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
    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
    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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard