I have a question/field in a survey123 that is supposed to calculate a percentage based on two previous questions. The formula:
round(${TOTAL_CM_TREAT}div((${TOTAL_CM_TREAT}+${TOTAL_CM_UNTREAT}))*100,1)
However it won't calculate if ${TOTAL_CM_UNTREAT} is zero. If TOTAL_CM_UNTREAT is > 0 it works fine. However I want it to be able to calculate even if TOTAL_CM_UNTREAT is zero. Any advice?
Thank you!