What is the syntax for CreateHierarchyByAttribute?
CreateHierarchyByAttribute(DimensionName, AttributeName, EmptyParentName, RootName)
- DimensionName = Name of the dimension to create a new hierarchy.
- AttributeName = Name of the attribute to be used as middle level of the new hierarchy. The AttributeName also names the new hierarchy.
- EmptyParentName = Name of the middle level parent when a N Level element does not have a value for the parameter ‘AttributeName’. If this parameter is left blank, TM1 will insert the N Level element in the TopLevel element.
- RootName = Name of the TopLevel element to be added to the new hierarchy.