interface
Source: metadata.ts ↗
v1.CalculatedMetricField
export interface CalculatedMetricField
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
“SUM” | “COUNT” | “APPROXIMATE_COUNT” | “AVG” | “MIN” | “MAX” | “MEDIAN” | “RUNSUM” | Aggregation function to use for this field. | ||
boolean | (Optional) Compute ratio for this metric. | ||
(Optional) | |||
string | (Optional) A field title. | ||
(AttributeIdentifier12 | FactIdentifier1 | LabelIdentifier13) & string | Attribute identifier to use for this field. |
Property details
v1.CalculatedMetricField.aggregationproperty
Aggregation function to use for this field.
aggregation: "SUM" | "COUNT" | "APPROXIMATE_COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "RUNSUM";
v1.CalculatedMetricField.compute_ratioproperty
Compute ratio for this metric.
compute_ratio?: boolean;
v1.CalculatedMetricField.filter_byproperty
filter_by?: QueryFilters1;
v1.CalculatedMetricField.titleproperty
A field title.
title?: string;
v1.CalculatedMetricField.usingproperty
Attribute identifier to use for this field.
using: (AttributeIdentifier12 | FactIdentifier1 | LabelIdentifier13) & string;