newArithmeticMeasure()
Home > @gooddata/sdk-model > newArithmeticMeasure
newArithmeticMeasure() function
Creates a new arithmetic measure with the specified measure identifiers and operator and optional modifications and localIdentifier.
Signature:
export declare function newArithmeticMeasure(measuresOrIds: ReadonlyArray<MeasureOrLocalId>, operator: ArithmeticMeasureOperator, modifications?: MeasureModifications<ArithmeticMeasureBuilder>): IMeasure<IArithmeticMeasureDefinition>;
Parameters
Parameter |
Type |
Description |
---|---|---|
measuresOrIds |
ReadonlyArray<MeasureOrLocalId> |
measures or identifiers of the measures to be included in this arithmetic measure |
operator |
operator of the measure | |
modifications |
(Optional) optional modifications (e.g. alias, title, etc.) |
Returns: