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 / Calculate sum of numbe...
Power Apps
Answered

Calculate sum of numbers in gallery control

(0) ShareShare
ReportReport
Posted on by 894

I found this nifty way to calculate: 

CountA(Gallery.AllItems.Label1)     =     Shows the number of times the label exists in gallery.

 

Screenshot 2022-10-20 111102.jpg

I want it to count all those numbers and showcase 94.

 

How can I do that?

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,558 Super User 2025 Season 2 on at

    @shavora 

    You'd call the Sum function to do this. The formula would look like this.

    Sum(Gallery.AllItems, 
     TheDataFieldThatYouWantToSum
    )

     

  • Verified answer
    Gyllentid Profile Picture
    894 on at

    Ok, that was easier than I thought. Just finding the right place on google took time.

     

    Sum(Gallery.AllItems,Label1)

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

Kalathiya 428

#2
WarrenBelz Profile Picture

WarrenBelz 374 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard