MetricSetAddCalculatedMeasure Method

Add a new script measure, based on a Dundas statement that combines existing measures and possible numeric parameters.

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 AddCalculatedMeasure(
	string name,
	string description,
	string statement
)

Parameters

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

Return Value

Type: MeasureUsage
The measure usage.
Exceptions
ExceptionCondition
ArgumentExceptionstatement is or Empty.
InvalidOperationExceptionThe current operation is not supported when the metric set returns raw data.
See Also