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 (26.2.0.1000)
Syntax
MeasureUsage AddParallelPeriodMeasure(
	MetricSet metricSet,
	string name,
	string targetMeasure,
	string targetTimeHierarchyLevel,
	int offsetInterval
)

Parameters

metricSet  MetricSet
The MetricSet to add the parallel measure to.
name  String
The name for the new measure.
targetMeasure  String
The target measure.
targetTimeHierarchyLevel  String
The target time hierarchy level.
offsetInterval  Int32
The time offset interval.

Return Value

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