How are calculations done on kobo?

${Question 1} + ${Question 2}+${Question 3} for cases of addition.
May someone elaborate more on this.
Regards,
Nhok

Welcome @nhok,
If you may encounter empty answers, you will need to use coalesce per element, e.g. coalesce(${Question1}, 0) + coalesce(${Question1}, 0) + coalesce(${Question1}, 0). See https://getodk.github.io/xforms-spec/#fn:coalesce and

You can also try Help Center and the search function of this forum for advice, e.g. Advanced Calculate Question Type — KoboToolbox documentation and Search results for 'calculate the sum of variables' - KoBoToolbox Community Forum

2 Likes