>For the grouping, use an expression like
sum(iif(Field1 = 0, 1, 0)) to get the count of zeroes.
If the only values possible are 0 and 1, you can also use the simpler expression sum(1-Field1).
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)