FormulaMetricSetAddCalculatedMeasure Method (String, String, String, IEnumerableMetricSetUsage)

Add a new calculated measure to the current instance.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public MeasureUsage AddCalculatedMeasure(
	string name,
	string description,
	string statement,
	IEnumerable<MetricSetUsage> dependencies
)

Parameters

name
Type: SystemString
The name for the new measure.
description
Type: SystemString
The description of the measure.
statement
Type: SystemString
The statement.
dependencies
Type: System.Collections.GenericIEnumerableMetricSetUsage
The dependencies used in the statement definition.

Return Value

Type: MeasureUsage
The measure usage.
Exceptions
ExceptionCondition
ArgumentExceptionstatement is or Empty.
ArgumentNullExceptiondependencies is .
See Also