HierarchySubsetElementInsert
HierarchySubsetElementInsert adds an element to an existing subset in a dimension hierarchy.
This function is valid in TM1® TurboIntegrator processes only.
Syntax
HierarchySubsetElementInsert(DimName, HierName, SubName, ElName, Position);
Argument |
Description |
---|---|
DimName | The parent dimension of the subset to which you want to add an element. |
HierName | The name of the hierarchy within the dimension. |
SubName | The name of the subset to which you are adding an element. |
ElName | The name of the element you want to add to the subset. The element must exist in the TM1 database. |
Position | A value that indicates the index position of the element within the subset. |
Example
HierarchySubsetElementInsert('Region', 'European', 'Northern Europe', 'Finland',3);
This example adds the element Finland to the Northern Europe subset of the European hierarchy in the Region dimension. Finland is the third element in the subset definition.