metric

A value calculated from a view attribute and aggregated across a view's dimension value.

A metric is defined using an expression containing an arithmetic formula used for the aggregation. Each metric must contain at least one aggregation function (for example, "SUM(x)" or "AVG(y)"). For example, from the attribute "Sales", you might calculate the metric "Total Sales", which is the total of the values of the "Sales" attribute for each value of a dimension such as region or product line.

Some metrics are defined for a specific instance of a Studio component, to populate a table or generate a graphical visualization. Views may also have predefined metrics that are available to all components.

See also view (Studio) and dimension (in views).