HierarchyATTRN
HierarchyATTRN returns a numeric attribute for a specified hierarchy within a dimension.
This function is valid in TM1® TurboIntegrator processes only.
Syntax
HierarchyATTRN(DimName, HierName, AttrName);
Argument |
Description |
---|---|
DimName |
A valid dimension name. |
HierName |
The name of the hierarchy within the dimension. |
AttrName |
The attribute for which you want to retrieve a value. This argument must be a valid attribute of the dimension. |
Example
In this example, the function returns the numeric value of the Accounting_Code attribute of the Plan_Business_Unit dimension. This example applies to the Equipment hierarchy.
HierarchyATTRN('Plan_Business_Unit', 'Equipment', 'Accounting_Code');