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 Value is not showi...
Power Apps
Unanswered

Sum Value is not showing correctly in collections

(0) ShareShare
ReportReport
Posted on by 901

Happy Friday!

 

I was able to get the

"$" & Sum(Quantity*Price)

To Sum up Quantity & Price in Gallery. But is not doing the same in the collections

Patch(PitneyBowesCollection,Defaults(PitneyBowesCollection),{Category: CategoryDrp.SelectedText.Result},{SubCategory: SubCategoryDrp.SelectedText.Result},{ProductName: ProductNameDrp.SelectedText.Result},{Item: TextInput5.Text},{Quantity: TextInput_Quantity.Text},{Price:Value(TextInput1.Text)});Reset(CategoryDrp);Reset(SubCategoryDrp);Reset(ProductNameDrp);Reset(TextInput_Quantity);

What l'm i missing?

 

 

Capture.PNGCollections.PNG

 

 

Categories:
I have the same question (0)
  • Verified answer
    iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Hi @oappdev 

     

    This is patching the same first entry twice, that's why the price is showing the same, it's taking all of the values from the first item in the gallery rather than separate ones - you will need to use ForAll to patch for each of the rows within the gallery.

     

    Could you try this and let me know whether that works for you?

     

    Thanks,

    Sancho

  • oappdev Profile Picture
    901 on at

    Thank you @iAm_ManCat  will give it a try and circle back

  • oappdev Profile Picture
    901 on at

    Got it working 🙂 @iAm_ManCat Working.PNG

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Excellent, glad I could help @oappdev  😺

  • oappdev Profile Picture
    901 on at

    @iAm_ManCat Thank you so much! i have another issue that i will be posting shortly. This PowerApps will be use by 500+ users

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard