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

254
1
07-29-2019 01:20 PM
SebastiánArdila
New Contributor III

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.