interface
Source: metadata.ts ↗
v1.CalculatedMetricFieldGuard1
export interface CalculatedMetricFieldGuard1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
“SUM” | “COUNT” | “APPROXIMATE_COUNT” | “AVG” | “MIN” | “MAX” | “MEDIAN” | “RUNSUM” | (Optional) Aggregation function to use for this field. | ||
string | (Optional) Date filter to use for this field. | ||
string | (Optional) Define MAQL syntax for metric. | ||
“SUM” | “DIFFERENCE” | “MULTIPLICATION” | “RATIO” | “CHANGE” | (Optional) Arithmetic operator to use for this field. | ||
“PREVIOUS_YEAR” | “PREVIOUS_PERIOD” | (Optional) Type of relative period metric related to another metric in list. | ||
string | string[] | (Optional) |
Property details
v1.CalculatedMetricFieldGuard1.aggregationproperty
Aggregation function to use for this field.
aggregation?: "SUM" | "COUNT" | "APPROXIMATE_COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "RUNSUM";
v1.CalculatedMetricFieldGuard1.date_filterproperty
Date filter to use for this field.
date_filter?: string;
v1.CalculatedMetricFieldGuard1.maqlproperty
Define MAQL syntax for metric.
maql?: string;
v1.CalculatedMetricFieldGuard1.operatorproperty
Arithmetic operator to use for this field.
operator?: "SUM" | "DIFFERENCE" | "MULTIPLICATION" | "RATIO" | "CHANGE";
v1.CalculatedMetricFieldGuard1.typeproperty
Type of relative period metric related to another metric in list.
type?: "PREVIOUS_YEAR" | "PREVIOUS_PERIOD";
v1.CalculatedMetricFieldGuard1.usingproperty
using?: string | string[];