StateAddCondition(MeasureUsage, ComparisonOperator) Method

Adds a new MeasureCondition to the internal condition collection.

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 MeasureCondition AddCondition(
	MeasureUsage targetMeasure,
	ComparisonOperator comparisonOperator
)

Parameters

targetMeasure  MeasureUsage
The target measure.
comparisonOperator  ComparisonOperator
The comparison operator to be used between the group measure and the target measure.

Return Value

MeasureCondition
The newly added MeasureCondition.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetMeasure is .
ArgumentExceptioncomparisonOperator is invalid or targetMeasure is the measure the state is attached to.
See Also