For some reason I can't get the DCount aggregate function to work properly in a Group By query. I'm trying to get the counts of different responses grouped by location. The expression looks something like this:
CountPos: Count("[Cond]","<sourcedata>","[Cond]='Pos'")
The problem is that it is not propertly grouping the counts, but instead returns the (same) total number of counts for the 'Pos' in the [Cond] field for both groups.
Any thoughts on resolving this would be appreciated.
CountPos: Count("[Cond]","<sourcedata>","[Cond]='Pos'")
The problem is that it is not propertly grouping the counts, but instead returns the (same) total number of counts for the 'Pos' in the [Cond] field for both groups.
Any thoughts on resolving this would be appreciated.