I have a repetition structure for father(parcelas) and son (terrasolta). When performing the sum of a variable(terra_solta) of the child repetition, I receive only the value of the last position, and not the sum of all repetitions of the variable (terra_solta).

How can I solve this? I need to receive the sum of terra_solta for all repetitions!