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 / How to count the numbe...
Power Apps
Unanswered

How to count the number of items in a collection ?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

 

I have below table with me and i did pivot screen shot given below,

I am writing below query to get an answer 

 

CountIf(Table4_2,qu="Q3" && PR="AMEA" && ET="RR" && IO="In-Region" && ST="Exit")1.PNG2.PNG

I should get correct answer however i am not getting correct count please help

 

 

 

Data Table

 

PRETQCIOSTqu
SERRQ3In-RegionExitQ3
SECC In-RegionExitQ3
SERRQ4In-RegionExitQ3
UKIRRQ2Out-RegionExitQ2
SERRQ4In-RegionExitQ3
SERR In-RegionREQ3
NCERRQ4In-RegionExitQ3
SERRQ3In-RegionExitQ3
AMEARRQ4In-RegionExitQ3
ANZRRQ4Out-RegionREQ3
SERRQ4In-RegionREQ3
NCERRQ3Out-RegionExitQ3
AMEARRQ4In-RegionExitQ3
AMEARRQ3In-RegionExitQ3
AMSRRQ3Out-RegionExitQ3
AMEARRQ3In-RegionExit

Q3

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    I just created a testing table with the data your provided, and the formula you posted give me the result 4.

    Which matches the one shown in your Pivot table.

    87.PNG88.PNG

     

    Could you please share more details about what result that you would like to count out?

     

    For the count function, see:

    Count, CountA, CountIf, and CountRows functions in PowerApps

    Regards,

    Michael

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard