Get Free Trial
API reference
Table of contents

removeCalculatedMeasure

removeCalculatedMeasure(measureName: String)

[starting from version: 2.3]

Note that the removeCalculatedMeasure method is available only for reports based on "json""csv", and "api" data source types.

Removes the calculated measure by the measure’s unique name.

Parameters

  • measureName – String. The measure’s unique name.

Example

To remove the calculated measure use removeCalculatedMeasure(), as follows:

let measureName = "Average Price";
flexmonster.removeCalculatedMeasure(measureName);

Open the example on JSFiddle.

See also

addCalculatedMeasure
getAllMeasures
getMeasures
removeAllCalculatedMeasures
Calculated values guide