COUNT_EACH
The number of items grouped by the given key.
Syntax
COUNT_EACH([MAX VALUES, ]GROUP)
Arguments
MAX VALUES:
The maximum number of entries that can be counted (default: 2,147,483,647).
When MAX VALUES
is omitted, the limit is simply set to the default value.
GROUP:
The field you would like counted.
Returns
An integer
Notes
"EACH" Aggregate Functions, such as this one, only work when emitting hierarchical data.
Example
Data
Query
Display hierarchical results of each value, with the matching count of the value. This resembles a count field + group by query, except that the results are formatted as a single hierarchy.
Results
Related Functions
Dialog
Last updated