Loading…
object
A report: entity, filter (shared DSL), range, up to 4 measures (count, sum/avg/min/max of a field, count_if / rate of an outcome, a catalogue ratio), a group-by and an optional split, sort, top-N and the chart.
vrequiredentityrequiredfilterrequiredPropZolo filter: { all: [...] } | { any: [...] } | { not: … } | { field, op, value }
rangerequiredA preset period or calendar days (inclusive), company time zone.
measuresrequiredmeasures[].fnrequiredmeasures[].fieldrequiredgroup_byrequiredsplit_byrequiredA second dimension: one series per value (pivot).
sortrequiredsort.byrequiredsort.dirrequiredlimitrequiredvisualrequired{
"v": 1,
"entity": "leads",
"filter": null,
"range": {
"field": "string",
"preset": "today",
"from": "string",
"to": "string"
},
"measures": [
{
"fn": "count",
"field": "string"
}
],
"group_by": {
"field": "string",
"bucket": "day"
},
"split_by": {
"field": "string",
"bucket": "day"
},
"sort": {
"by": "value",
"dir": "asc"
},
"limit": 1,
"visual": "table"
}