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 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
    69,125 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,145 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,145 on at

    Thanks @SteCos 

     

  • RobertLim Profile Picture
    12 on at

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

  • Pstork1 Profile Picture
    69,125 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard