case when {field a} > {field b} then 1 else 0 e...
# suiteanalytics
k
case when {field a} > {field b} then 1 else 0 end and set your criteria as "1"