sum products in parent table

Hello everybody.
I would like to show in my FERTILIZATION PLANS parents table the list of products inserted in the grandchild INTERVENTION ROWS table, with the sum of the relative quantities / product price / total price per product (products can repeat in the grandchild table)
Something like:

PRODUCT 1          10 kg     3.00 โ‚ฌ     total 30.00 โ‚ฌ
PRODUCT 2           5 kg     2.00 โ‚ฌ     total 10.00 โ‚ฌ
PRODUCT 3            1 kg     7.00 โ‚ฌ     total 7.00 โ‚ฌ
.......

What is the best approach to achieve this in the parent table?

 

1 8 286
8 REPLIES 8
Top Labels in this Space