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 Warning on ...
Power Apps
Answered

Delegation Warning on SharePoint List data source when Using Countrows

(0) ShareShare
ReportReport
Posted on by 73

Hi all,

 

I am trying to find alternatives/workarounds to attempt to fix this delegation warning. I am counting the rows from a SharePoint List Called 'RRF CP Actions' and filtering where the RRF ID is equal to the RRF ID selected in a gallery called TemplateGalleryList1

 

Here is the code: 

CountRows(Filter('RRF CP Actions', 'RRF ID' = TemplateGalleryList1.Selected.'RRF ID'))

 

What can I alter in the code to remove the delegation warning. the highlighted part of this formula might not work correctly on large datasets. The "CountRows" operation is not supported by this connector.

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,110 Most Valuable Professional on at

    Hi @kriscachia ,

    Assuming that the filter will not ever return more than 500-2000 (depending on your Delegation settings) rows, the below will work. NOTE: you will not get a Delegation Warning if the rows are more, just a 500-2,000 count as above.

    With(
     {
     wActions:
     Filter(
     'RRF CP Actions', 
     'RRF ID' = TemplateGalleryList1.Selected.'RRF ID'
     )
     },
     CountRows(wActions}
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • WarrenBelz Profile Picture
    156,110 Most Valuable Professional on at

    Hi @kriscachia ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard