IMetricSetServiceAddCountMeasure Method

Adds an count measure to the given metric set and saves the metric set.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
MeasureUsage AddCountMeasure(
	MetricSet metricSet
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSetsMetricSet
The MetricSet to add the count measure to.

Return Value

Type: MeasureUsage
The count measure usage object.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetricSet is .
InvalidOperationExceptionThe IAnalysisStructure that powers the current metric is not an auto-generated DataCube, or a count measure is already defined, or the metrics set is set for raw data retrieval.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also