AI-generated Key Takeaways
-
Metric columns in reports are defined by a JSON representation with a
name
and atype
. -
Metrics used only in filters or expressions do not generate visible columns or headers in the report.
-
The
name
field is a string identifying the metric, while thetype
field specifies the metric's data type using the MetricType enum.
Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.
JSON representation |
---|
{
"name": string,
"type": enum ( |
Fields | |
---|---|
name |
The metric's name. |
type |
The metric's data type. |