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 / Count rows with filter...
Power Apps
Answered

Count rows with filter and search

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

I am trying to use count row syntax with filter and search but i am seeing the result as "0"

 

syntax - CountRows(Search(Filter(colITRequest,Status.Value="Label11.Text"),Search_2.Text,"Title","RequestorName","PRNO","PONO"))

 

please help me to fix the issue in my syntax to make it work.

 

TIA,
CL

Categories:
I have the same question (0)
  • Verified answer
    Gochix Profile Picture
    1,937 Moderator on at

    Hi @Anonymous ,

    Please try:

    CountRows(Search(Filter(colITRequest,Status=Label11.Text),Search_2.Text,"Title","RequestorName","PRNO","PONO"))

    I'm not sure what datasource you are using.

    If that's Dataverse and you have to use Status.Value then your Label11.Text were in quotes "" which shouldn't be there?

    Or that's another dataverse thing that I'm not aware of. (not a dataverse user)
    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Gochix,

     

    Because of the quotes used in my syntax it was not working. it started working after removing the quotes.

    "CountRows(Search(Filter(colITRequest,Status.Value=Label11.Text),Search_2.Text,"Title","RequestorName","PRNO","PONO"))"

     

    Thanks for the help.

    CL

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
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard