Calculation formula not working

274
3
11-19-2021 12:28 PM
GISManager4
New Contributor III

I want to build a calculation that returns the sum from integer fields and display them in a text field, but it is not working. I have tried everything I can think of. Followed instructions from Formulas site.

${GI1}+${GI2}+${GI3}+${Detention_Fac}+${Detention_Fac2}

I have the xsl file attached.

0 Kudos
3 Replies
JayantaPoddar
MVP Esteemed Contributor

 

You have used the text fields for calculation. You should use

 

${Num_GI1}+${Num_GI2}+${Num_GI3}+${Num_Detention_Fac}+${Num_Detention2}

 

Also change the Type of Num_Detention2 to integer.



Think Location
GISManager4
New Contributor III

I made the changes you suggested and the calculation still does not work.

0 Kudos
GISManager4
New Contributor III

The calculation field is not adding the fields together. It will show the value for 1 field, but as soon as I use + the formula does not work.

0 Kudos