Count Field Where Value = "Y"
I'm trying to create a new calculation field to Count all of the "Y" values in an existing field (Diabetes). Here's what I programmed:
ValueCount ( Diabetes = "Y" )
Instead of counting only the "Y" values, it's counting all values regardless of whether they are "Y" or not. Can someone help me with this syntax or suggest another method of counting my "Y" values?