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 Accumulati...
Power Apps
Answered

Calculating Accumulative Total from Gallery

(0) ShareShare
ReportReport
Posted on by 5,345 Moderator

I have Gallery1. In Gallery1 is a 'Repeating Table'.

Gallery 'Quantity' is TextInput1. Gallery 'Unit Price' is TextInput2. Gallery 'Total' is TextInput3 and in its text property is 'TextInput1 * TextInput2'.

I am trying to display the grand total in the 'Total Amount Due' field (Label1) located outside of the Gallery, however if I simply place TextInput3 in Label1 only a '0' appears.

How do I get the total, and accumulative total of each item, to display in the Label1?

Phineas_0-1700793235718.png

 

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Phineas ,

     

    Please try this:
    Text of Label1:

     

    Sum(Gallery1.AllItems,TextInput3.Text)

     

     

     

    Best regards,

    Rimmon

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

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard