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 / Sum of Table Column
Power Apps
Answered

Sum of Table Column

(0) ShareShare
ReportReport
Posted on by 278

Canvas App

No Table or Gallery

 

Label.text = Sum of Count column

 

This unfortunately is not the right formula.

 

Sum(Filter('The DB',Value(Count.Text)>=0),Count)

Categories:
I have the same question (0)
  • Verified answer
    GarethPrisk Profile Picture
    2,828 on at

    In your example:

    • 'The DB' - what data source would this be?
    • Is 'Value(Count.Text)' valid for that data source? As that reads, it means you have a record in a column called Count with an attribute called Text
    • You're trying to filter 'The DB' for rows where Count >= 0, and then sum that?
      • Example:
        • [ {Count: 0}, {Count: 1}, {Count: 2}, {Count: 3}, {Count: 0} ]
        • This would filter to rows with 1,2,3
        • The Sum would be 6
        • Correct?

    The syntax for for the formula Sum appears correct. It would be Sum (Table, Column) or Sum(Table, Function).

    However, the syntax of your filter, and the column you're trying to sum appears (possibly) to be incorrect.

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

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard