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 / cant add totals from a...
Power Apps
Answered

cant add totals from a gallery to a text label outside the gallery

(0) ShareShare
ReportReport
Posted on by 241

I have a gallery that each row calculates a total amount.  underneath the gallery i have a label that sums the total of all the total amounts in the gallery using allitems but it is not displaying on my end result label.

 

 

scottmcnitt_0-1681254161999.png

Trying to have the results in the Net Amount: "$"& Text(Sum(galEditRequestItems.AllItems, lblCPREditItemAmount), "[$-en-US]#,##0.00")

 

Categories:
I have the same question (0)
  • MarcelLehmann Profile Picture
    378 on at

    Try (I don't know which kind of text label this is):

     

    Value(lblCPREditItemAmount) 

    Or

    Value(lblCPREditItemAmount.text)

    Or

    Value(lblCPREditItemAmount.value)

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @scottmcnitt,

    I think you should refer to the lblCPREditItemAmount.Text, modify your formula as below:

    "$"& Text(Sum(galEditRequestItems.AllItems, lblCPREditItemAmount.Text), "[$-en-US]#,##0.00")

    vqiaqimsft_0-1681267143725.png

    You could find that I refer to Title39.Text from my Gallery29.

  • scottmcnitt Profile Picture
    241 on at

    I tried all 3 of those and no luck

  • scottmcnitt Profile Picture
    241 on at

    I tried it and still only shows $

    scottmcnitt_0-1681309547176.png

     

  • Verified answer
    scottmcnitt Profile Picture
    241 on at

    I figured out my issue.  I made a new text label inside the non nested gallery and it just worked as originally entered.  It does not work outside of the gallery.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard