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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Group by and count rows delegation

(0) ShareShare
ReportReport
Posted on by 205
Hi all, I am trying to create a chart from a Sharepoint List with over 8000 records with the following query
AddColumns(GroupBy(Filter(Surveillance_1,'Surveillance Year'=2024,Compliance="No"),Site, Grouped),Count, CountRows(Grouped)),Count,",")
I would like to check if this filter is delegable as the below is the chart I get which has a total of more than 2000 rows (what I have set as my data row limit) but at the same time does not contain all the records in my Sharepoint list.
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    Group by and count rows delegation
    The fact that SharePoint connectors in Power Apps have delegation limits, and some functions in your query (e.g., Filter, AddColumns, GroupBy) are non-delegable. This means that only the first 2000 rows (default data row limit) are retrieved from SharePoint for processing, leading to incomplete data in your chart.
     
    query should look in Power Apps:
    AddColumns(
        GroupBy(
            Filter(Surveillance_1, 'Surveillance Year' = 2024 && Compliance = "No"),
            "Site", "Grouped"
        ),
        "Count", CountRows(Grouped)
    )
     

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

Coming soon: forum hierarchy changes

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard