newPopMeasure()
Home > @gooddata/sdk-model > newPopMeasure
newPopMeasure() function
Creates a new PoP measure with the specified identifier and PoP attribute identifier and optional modifications and localIdentifier.
Signature:
export declare function newPopMeasure(measureOrLocalId: MeasureOrLocalId, popAttrIdOrRef: ObjRef | Identifier, modifications?: MeasureModifications<PoPMeasureBuilder>): IMeasure<IPoPMeasureDefinition>;
Parameters
Parameter | Type | Description |
---|---|---|
measureOrLocalId | MeasureOrLocalId | measure or local identifier of the measure |
popAttrIdOrRef | ObjRef | Identifier | identifier or a reference to PoP attribute |
modifications | MeasureModifications<PoPMeasureBuilder> | (Optional) optional modifications (e.g. alias, title, etc.) |
Returns: