newMeasure()
Home > @gooddata/sdk-model > newMeasure
newMeasure() function
Creates a new measure with the specified identifier and optional modifications and localIdentifier.
Signature:
export declare function newMeasure(measure: ObjRef | Identifier, modifications?: MeasureModifications<MeasureBuilder>): IMeasure<IMeasureDefinition>;
Parameters
Parameter | Type | Description |
---|---|---|
measure | ObjRef | Identifier | ref of identifier of the measure |
modifications | MeasureModifications<MeasureBuilder> | (Optional) optional modifications (e.g. alias, title, etc.) |
Returns: