Select to view content in your preferred language

Calculate a field based on how many questions have been answered "yes"

372
1
07-29-2019 01:20 PM
SebastiánArdila
Esri Contributor

Hello,

I have a survey with a series of yes/no questions, the  user needs to know at the end how many questions have been answered  "yes". Is there a way to do this? 

0 Kudos
1 Reply
DougBrowning
MVP Esteemed Contributor

You need to make a second calculate field and then use a if(field=yes,1,0).  Then make sure to set the bind::type column to int.

Then your final one would be field1count + field2count + ...

Yep its is a pain if you have lots of fields.