MetricSetAddCalculatedHierarchy Method

Add a new script hierarchy, 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 (26.2.0.1000)
Syntax
public HierarchyUsage AddCalculatedHierarchy(
	string name,
	string description,
	string statement,
	PlacementPosition position
)

Parameters

name  String
The hierarchy name.
description  String
The hierarchy description.
statement  String
The hierarchy script statement.
position  PlacementPosition
The PlacementPosition for the calculated hierarchy.

Return Value

HierarchyUsage
The hierarchy usage.
Exceptions
ExceptionCondition
ArgumentExceptionstatement is or Empty.
InvalidOperationExceptionThe current operation is not supported when the metric set returns raw data.
See Also