Metric table column
A column of a metric table. For metric_value columns the ID is also the warehouse metric's ID.
idstring
ID of the column.
column_namestring
Warehouse column name.
Example:
revenuerolestring
What the column holds.
Possible values: [time, metric_value, dimension, identifier, ignored]
metric_namestringnullable
Name of the metric, required for metric_value columns.
Example:
Revenueroll_upstringnullable
How a metric_value column adds up into longer periods.
Possible values: [add_up, latest_value, earliest_value, average, median, p75, p90, min, max, no_roll_up]
entitystringnullable
Entity an identifier column identifies.
Example:
userlinked_event_propertystringnullable
Event property a dimension column matches, so filters can apply to both.
Metric table column
{
"id": "string",
"column_name": "revenue",
"role": "time",
"metric_name": "Revenue",
"roll_up": "add_up",
"entity": "user",
"linked_event_property": "string"
}