MetricSetService.addParallelPeriodMeasure Method

Adds a parallel period measure to the given metric set.
 

Parameters

metricSetId

Type: String
The ID of the metric set to add the parallel measure to.
name

Type: String
(optional) The name of the new measure to add. If left as null, the server will attempt to guess it.
Optional: True
measureUniqueName

Type: String
The unique name of the measure to use for the parallel measure.
levelUniqueName

Type: String
Which level to use from the time hierarchy for the offset lag.
offset

Type: Number
The lag for the offset. The unit is based on which level was specified.

Return Value


Type: jQuery.Promise
Value: dundas.entities.MetricSet
A promise object that is resolved when the call is complete. If successful, the updated dundas.entities.MetricSet is returned.