MetricSetService.addScriptMeasure Method

Add a scripted measure to a metric set.
 

Parameters

metricSetId

Type: String
The metric set ID.
script

Type: String
The formula script.
defaultCaption

Type: String
(optional) The default caption for the new script measure.
Optional: True
defaultUniqueName

Type: String
(optional) The default unique name for the new script measure.
Optional: True

Return Value


Type: jQuery.Promise
Value: dundas.data.MeasureUsage
The MeasureUsage object.