Simple Survey123 Addition Calculation Not Working

591
2
10-02-2019 01:02 PM
by Anonymous User
Not applicable

Hi,

I have a simple survey123 calculation that is acting weird. I have three calculations that are working properly, and then the fourth, I am trying to add together the previous three calculations. 

When I do that, my code is:  

${Erosion_Score} + ${SoilKFactor_Score} + ${Road_App_Material_Score}

When I collect data, the calculation is resulting in the concatonation of the three, rather than the sum. 

Example: eriosion score = 3, soilK = 2, Road_app = 3

calculation = 323 rather than 8.

Any help would be appreciated!!

2 Replies
by Anonymous User
Not applicable

Nevermind, I found the answer, in case anyone needs to know, calculations must be changed to a number rather than the default of text if they are to be used in another equation:  https://community.esri.com/thread/198640-problem-with-calculation-when-field-is-set-to-hidden-or-cal... 

0 Kudos
CPoynter
Occasional Contributor III

This posting is another possible solution.

0 Kudos