MetricSetAddContextualMeasure Method

Add a new contextual measure. The user is responsible for entering contextual measure data.

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 MeasureUsage AddContextualMeasure(
	string name,
	string description
)

Parameters

name
Type: SystemString
The measure name.
description
Type: SystemString
The measure description.

Return Value

Type: MeasureUsage
The measure usage.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe current operation is not supported when the metric set returns raw data or the current instance is a FormulaMetricSet which do not support contextual measures.
See Also