IMeasureDefinitionOverride
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
(EXPERIMENTAL) Override for a catalog metric definition.
export interface IMeasureDefinitionOverride
Remarks
Allows substituting a catalog metric’s MAQL definition for a single execution request without modifying the stored definition.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
{ inline: { maql: string; }; } | (ALPHA) Inline MAQL definition to use instead of the stored metric definition. | ||
{ identifier: { id: string; type: “metric” | “attribute” | “fact”; }; } | (ALPHA) Reference to the metric object to override. |
Property details
IMeasureDefinitionOverride.definitionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Inline MAQL definition to use instead of the stored metric definition.
definition: {
inline: {
maql: string;
};
};
IMeasureDefinitionOverride.itempropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Reference to the metric object to override.
item: {
identifier: {
id: string;
type: "metric" | "attribute" | "fact";
};
};