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 / 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)
  • 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.

  • scottmcnitt Profile Picture
    241 on at

    I tried it and still only shows $

    scottmcnitt_0-1681309547176.png

     

  • scottmcnitt Profile Picture
    241 on at

    I tried all 3 of those and no luck

  • v-qiaqi@microsoft.com Profile Picture
    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.

  • 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)

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 403

#2
WarrenBelz Profile Picture

WarrenBelz 338 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 320 Super User 2025 Season 2

Last 30 days Overall leaderboard