MetricSetAddParallelPeriodMeasure(String, MeasureUsage, HierarchyUsage) Method

Add a new parallel period measure, based on an existing metric set measure.

Namespace: Dundas.BI.Entities.MetricSets
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public virtual MeasureUsage AddParallelPeriodMeasure(
	string name,
	MeasureUsage targetMeasure,
	HierarchyUsage timeHierarchy
)

Parameters

name  String
The name for the new parallel period measure.
targetMeasure  MeasureUsage
The target measure.
timeHierarchy  HierarchyUsage
The time hierarchy used for defining the lag.

Return Value

MeasureUsage
The measure usage.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetMeasure or timeHierarchy is .
ArgumentExceptiontargetMeasure does not belong to the current instance, or timeHierarchy is not a time hierarchy.
InvalidOperationExceptionThe current instance is set for raw data retrieval and derived measures are not allowed in such a case.
See Also