Aggregate
aggregateCount, total, average, min or max over a table, optionally grouped by up to 2 fields, computed in the database. Use this instead of reading all records to answer how many / how much questions. Multi-value fields (multiple select, links, users) count a record once per value. Dates group by day unless bucket is week, month or year.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | ||
| table | Yes | Table name or id | |
| baseId | Yes | ||
| filter | No | Structured filter, evaluated as SQL in the database (fast) | |
| groupBy | No | ||
| metrics | Yes | ||
| timezone | No | IANA time zone, such as Asia/Shanghai, for the day buckets of values with a time; UTC by default |