MetricSetAddParallelPeriodMeasure Method (String, MeasureUsage, ITimeHierarchyLevel, Int32)

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 (24.3.0.1000)
Syntax
public virtual MeasureUsage AddParallelPeriodMeasure(
	string name,
	MeasureUsage targetMeasure,
	ITimeHierarchyLevel timeInterval,
	int offset
)

Parameters

name
Type: SystemString
The name for the new parallel period measure.
targetMeasure
Type: Dundas.BI.Entities.MetricSetsMeasureUsage
The target measure.
timeInterval
Type: Dundas.BI.Data.MetadataITimeHierarchyLevel
The time interval for the lag.
offset
Type: SystemInt32
The time offset value.

Return Value

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