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.

Report
All responses (
Answers (