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 with Countr...
Power Apps
Unanswered

Delegation with Countrow and filter

(0) ShareShare
ReportReport
Posted on by 14

Hello,

 

I need to define a variable like that:

Set(varBasvuran, CountRows(Filter('Egitim Katılımcılar',SeçilenEğitim.Value=ThisItem.Title,isDelete=false,BasvuruTipi.Value="Asil")))
 
But it shows a delegation error.
 
I tried a method using With function. But defining variable doesn't work.
Set(varBasvuran,
With(
{
_Complete:Filter('Egitim Katılımcılar',SeçilenEğitim.Value=ThisItem.Title,isDelete=false,BasvuruTipi.Value="Asil")
},
CountRows(_Complete)
));
 
Could you help me ?
Categories:
  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    Hello @yagmurpoweruser ,

     

    With CountRows it will never be possible to not have a delegation warning. You can only work around that by Filtering it down so that it's always under the Delegation limit or you need to Collect the whole database into the application and count it then. Performance wise this isn't a good solution at all of course.

     

    If you chose the filter method and you're sure that you will always be under the delegation  limit the warning will still come but you can ignore it. 

    Delegation is defaultly set to 500 and you can Up it to 2000.

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard