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 product of...
Power Apps
Unanswered

Calculating product of values filtered in a Gallery with unique values from another Gallery

(0) ShareShare
ReportReport
Posted on by 14

Hi,
I am struggling for hours, watched so many posts, but couldn't find a topic similar with what I want to achieve in Power Apps.

I have to Sharepoint lists:

- one products list, that has all the products available (PRoduct ID, Product name, for keeping simple)
- the second is a materials list, from which the products are made of ( product id, material Id, Material name and Material quantity - needed to produce each product). It is more like a single level BOM  and every product is made up from more materials, while one material could be used for more products also.

On the same screen, I have the first gallery with the products ( especially Product name) , and a Textinput field where we can introduce the quantity that we want to produce. I set up the OnChange of the Textinput field, to collect all the products that are included in the same production batch ( 1 to max. 4 products at once) when the user introduces a quantity in the Textinput field.
 
After the selection is made, I want to show in the second gallery all the materials needed to produce the selected products a ( calculated as the sum  of every product quantity from Textinput field in the first gallery multiplied with the Material Quantity from the Materials list.
ALso, I want to that in the second gallery, only unique material IDs or material names should appear, with summed up values, in case the same material is used for more products. 

Thank you for your support.

Dzsokko_0-1700870947980.png

 




Categories:

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

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard