Dear all,
i am trying to master indexed-repeat in nested repeat groups but get stucked with a form with a similar structure as this example:
sumfromnestedrepeat.xlsx (571.0 KB)
The aim is to calculate the sum of ${count} field in the child repeat group from within the first repeat group (${sumcountwithinrepeat} in the example). This works without problems from outside the repeat group (${sumcountoutsiderepeat} in the example).
The problem is somehow related to the path. But if I understand indexed-repeat correctly it only allows to reference a value at a very specific position within the repeat. This contradicts with the aim to calculate the sum of the values in the ${count} fields of all repeat instances.
Any idea how to see clear on this issue?
Thanks very much for any help.
Best, Daniel