IMetricSetServiceAddCalculatedHierarchy Method |
Adds a new calculated hierarchy to the metric set, based on the specified statement and placeholders, and saves the metric set.
Namespace: Dundas.BI.Entities.MetricSetsAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
SyntaxHierarchyUsage AddCalculatedHierarchy(
MetricSet metricSet,
string name,
string description,
string statement,
PlacementPosition position
)
Function AddCalculatedHierarchy (
metricSet As MetricSet,
name As String,
description As String,
statement As String,
position As PlacementPosition
) As HierarchyUsage
HierarchyUsage^ AddCalculatedHierarchy(
MetricSet^ metricSet,
String^ name,
String^ description,
String^ statement,
PlacementPosition position
)
abstract AddCalculatedHierarchy :
metricSet : MetricSet *
name : string *
description : string *
statement : string *
position : PlacementPosition -> HierarchyUsage Parameters
- metricSet MetricSet
- The metric set.
- name String
- The name of the calculated hierarchy.
- description String
- The description of the calculated hierarchy.
- statement String
- The statement.
- position PlacementPosition
- The PlacementPosition for the calculated hierarchy.
Return Value
HierarchyUsage
The hierarchy usage element.
Exceptions
See Also