MetricSetAddParallelPeriodMeasure Method (String, MeasureUsage, HierarchyUsage) |
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.4.0.1000)
Syntax public virtual MeasureUsage AddParallelPeriodMeasure(
string name,
MeasureUsage targetMeasure,
HierarchyUsage timeHierarchy
)
Public Overridable Function AddParallelPeriodMeasure (
name As String,
targetMeasure As MeasureUsage,
timeHierarchy As HierarchyUsage
) As MeasureUsage
public:
virtual MeasureUsage^ AddParallelPeriodMeasure(
String^ name,
MeasureUsage^ targetMeasure,
HierarchyUsage^ timeHierarchy
)
abstract AddParallelPeriodMeasure :
name : string *
targetMeasure : MeasureUsage *
timeHierarchy : HierarchyUsage -> MeasureUsage
override AddParallelPeriodMeasure :
name : string *
targetMeasure : MeasureUsage *
timeHierarchy : HierarchyUsage -> MeasureUsage
Parameters
- name
- Type: SystemString
The name for the new parallel period measure. - targetMeasure
- Type: Dundas.BI.Entities.MetricSetsMeasureUsage
The target measure. - timeHierarchy
- Type: Dundas.BI.Entities.MetricSetsHierarchyUsage
The time hierarchy used for defining the lag.
Return Value
Type:
MeasureUsageThe measure usage.
Exceptions Exception | Condition |
---|
ArgumentNullException | targetMeasure or timeHierarchy is . |
ArgumentException | targetMeasure does not belong to the current instance,
or
timeHierarchy is not a time hierarchy. |
InvalidOperationException | The current instance is set for raw data retrieval and derived measures are not allowed in such a case. |
See Also