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

Delegation Warning on Countif formula

(0) ShareShare
ReportReport
Posted on by 36

Hi Guys

 

I wonder if anyone could help me with removing the delegation warning from the below code - I have made a collection (colstatus) with the different status choices but cannot figure out how to use this is my formula

 

CountIf('Vacancy Tracker',Status.Value = "New Request")

 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    Counting functions are never delegable.  There is no way to change this to remove the delegation warning.  The best you can do is use a Filter() function that is delegable and then a CountRows() around that.  The CountRows will still have a delegation warning, but as long as the filter gets you below the data limit it will work for the full data source.

  • Verified answer
    RezaDorrani Profile Picture
    12,143 on at

    Hi @SteCos 

     

    CountIf is not delegable.

    try using flow to get that data.

    check https://youtu.be/qsIn0mytC_8

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

    Thanks,
    Reza Dorrani, MVP
    YouTube
    Twitter

  • SteCos Profile Picture
    36 on at

    Thanks for your help guys! @RezaDorrani I really enjoy your YouTube videos!

  • RezaDorrani Profile Picture
    12,143 on at

    Thanks @SteCos 

     

  • RobertLim Profile Picture
    12 on at

    Other ways to count items but still delegable in Power Apps?

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    The only way to count all the items in a large list is to use a Flow. If you want to count a subset of records you can filter them first using a delegable formula and then count the results. But there is no way to count the rows in a data source using delegation in Power Apps alone.

  • RobertLim Profile Picture
    12 on at

    Thank you.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard