IMetricSetServiceAddParallelPeriodMeasure Method

Adds a Parallel Period measure to the given metric set and saves the metric set.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
MeasureUsage AddParallelPeriodMeasure(
	MetricSet metricSet,
	string name,
	string targetMeasure,
	string targetTimeHierarchyLevel,
	int offsetInterval
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSetsMetricSet
The MetricSet to add the parallel measure to.
name
Type: SystemString
The name for the new measure.
targetMeasure
Type: SystemString
The target measure.
targetTimeHierarchyLevel
Type: SystemString
The target time hierarchy level.
offsetInterval
Type: SystemInt32
The time offset interval.

Return Value

Type: MeasureUsage
The newly added usage element.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetricSet is .
ArgumentExceptiontargetMeasure or targetTimeHierarchyLevel are not valid metric set element unique names.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also