AnsweredAssumed Answered

Count of fields in a row that satisfy a query

Question asked by gardta on Jan 27, 2017
Latest reply on Jan 31, 2017 by gardta

I am wanting to calculate the count of fields in a row where designated fields in a feature class attribute table satisfy a query (in this case, where the value is greater than 0) and then write the count (sum) of the number of fields that satisfy this query into a new field. 

 

This seems simple, but I am having a hard time wrapping my head around how to do this using SQL or Python. Any suggestions or advice would be much appreciated. 

 

Thanks in advance!

Outcomes