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 / Summing Values in gallery
Power Apps
Unanswered

Summing Values in gallery

(0) ShareShare
ReportReport
Posted on by 13

I'm creating a PowerApp to collect a % used of products. I have a gallery for the user to assign a %, which the source is a separate combo box. I have set the default of the % to be an equal portion summing to 100%. I also have a box that is summing the %'s to check that they equal 100%. If a user changes the value's of the % it is not updating the check function and remains equal to the sum of the default values. The formula I have in the sum box is Sum(Percent_Gallery.AllItems,Value(Percent_Input.Text))*100 & "%". 

 

cmilligan262_0-1629816593767.png

 

cmilligan262_1-1629816617936.png

 

Categories:
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey! Check this link

     

    https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-sum-a-Gallery-Column/td-p/498478 

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

  • cmilligan262 Profile Picture
    13 on at

    @Nogueira1306  Unfortunately the solution in that is similar to what I already have input in the formula. I changed the formula to Sum(Percent_Gallery.AllItems,Percent_Input) to match the solution of that post, but it still won't update. 

  • WarrenBelz Profile Picture
    156,538 Most Valuable Professional on at

    Hi @cmilligan262 ,

    Firstly, where do you have this formula (on a label)?

    Also what formatting do you have in the Text box to show those values as percentage? There is nothing wrong with the formula assuming the Text boxes simply have numeric value in them, but you seem to have something else.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard