I have a problem with the sum of several fields in a survey.
Context:
We are collecting data for construction projects. We need to sum the different types of professional members of the team, for this, every type of worker has a field. We designate a field with the calculation: ${WorkerType1}+${WorkerType2}+... and publish.
Problem:
The number of workers types have increased, and we need to sum for the total of workers. The update for the calculation field is ${WorkerType1}+${WorkerType2}+...+${NewWorkerType1}+${NewWorkerType2}+... and republish.
Everything looks good in the app, the calculation is fine, BUT when we explore the data in the Feature Service the calculation was wrong! the data of the new fields are not added to the calculation.
All the fields are esriFieldTypeInteger: Integer, default: 0, Constraint: .>=0
Some ideas for correct the calculation?