Calculation not displayed in note

Hello everyone,

This might be an easy fix, but somehow, I’m not seeing why one calculation is displayed and the others are not.
I have added pictures from my forms.
kobocalc1

You may have calculations with an empty element, therefore resulting in an empty result. You may need to use coalesce() function to set any empty element to zero (0), see https://getodk.github.io/xforms-spec/#fn:coalesce.

1 Like

@stcb, as advised by @wroos, you should be able to learn more about coalesce here.

Thank you guys, I solved it by including/replacing sum() with the round() function and abviously by replacing “/” with “div”. The coalese is a very nice addition thank you

1 Like

Hint: Support from the community is easier if the related part of the XLSForm is included in the posting, please.

1 Like