Please find attached xlsform . Everything is fine except ;
1- “Cumulative support” doesnt show the sum until all the calculations have some value while intent is to sum up even few of the calculations are not entered . .means if “Total_outside” has no value it should consider it 0 and same goes to others.
calculate cumulative ${Total}+${Total_outside}+${Total_one_within}+${Total_one_outside}
2- “NaN” is appearing in three of the calculations .
Would you mind checking the xlsform. It should now work. Kindly please be informed that you could use the coalesce() function to stop seeing the NaN as you are currently seeing.
@Thanks for the feedback though I am still sruggling, maybe you can guide me on how exactly I can go about it with the formular of getting total scores for each submitted form.My xls is below
I used this:
coalesce(${calculation},0)+coalesce(${calculation_001},0)+coalesce(${calculation_002},0)+coalesce(${calculation_003},0)+coalesce(${calculation_004},0)+coalesce(${calculation_005},0)+coalesce(${calculation_029},0)+coalesce(${calculation_006},0)+coalesce(${calculation_007},0)+coalesce(${calculation_028},0)+coalesce(${calculation_008},0)+coalesce(${calculation_009},0)+coalesce(${calculation_030},0)
One more question;
For my total score to show: I use this:
Total Score is:${sum}
this formular am using tp pick number for total score but its blank
@wroos did not get your point. my question is can I replace the form with submission without losing data already submitted? I have a form with NaN issue which has 489 records. I have attache the XML form and the deployed form screenshot.