MetricSetAddCountHierarchyMeasure(IHierarchy) Method

Add a new measure, based on the count or distinct count of a specified hierarchy members.

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 MeasureUsage AddCountHierarchyMeasure(
	IHierarchy hierarchy
)

Parameters

hierarchy  IHierarchy
The hierarchy.

Return Value

MeasureUsage
The measure usage.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchy is .
ArgumentExceptionhierarchy does not belong to the underlying IAnalysisStructure.
InvalidOperationExceptionThe current operation is not supported when the metric set returns raw data.
See Also