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 / Calculating the Sum of...
Power Apps
Answered

Calculating the Sum of a label in a collection

(0) ShareShare
ReportReport
Posted on by 97

Greetings Comm!

 

I am trying to calculate the sum a label in a collection but the result is incorrect. Check the below scs.

 

label1.png

 

label2.png

 

Appreciating your support.

Categories:
  • Verified answer
    timl Profile Picture
    37,355 Super User 2026 Season 2 on at

    @Kareem_Shamel 

    The syntax would look like this:

    Sum(Gallery1.AllItems, 
     Value(lblAmount.Text)
    )

    Here, lblAmount would be the name of the label in your first screenshot.

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard