HierarchyUpdateDirect function for IBM Planning Analytics (TM1)
HierarchyUpdateDirect recompiles a hierarchy edited by *Direct functions (e.g. HierarchyElementInsertDirect) to reduce the memory footprint.
Where can the HierarchyUpdateDirect function be used?
TurboIntegrator
Which TM1 Server version is the HierarchyUpdateDirect function available for?
Version 11 and 12
What is the syntax for HierarchyUpdateDirect?
HierarchyUpdateDirect(Dimension, Hierarchy)
Dimension = name of dimension
Hierarchy = name of hierarchy
Relevant Functions
CreateHierarchyByAttribute = Creates a hierarchy composed of three levels. The lowest level is the N element, the first parent is a given attribute, and the top level is given by a parameter. The new hierarchy will have the same name as the given attribute.
HierarchyContainsAllLeaves = If a hierarchy contains all leaf elements in the dimension. If all are leaf elements, the function returns 1 (True), and if missing one or more leaf elements, it returns 0 (false).
HierarchyElementComponentDeleteDirect = Deletes a component (child) from a consolidated element in a specific hierarchy in a dimension. This function is actioned immediately.
HierarchyExists = Checks whether a specific hierarchy exists in a dimension.
HierarchyHasOrphanedLeaves = Returns 1 if a hierarchy in a dimension has an orphaned element or returns 0 if there is no orphaned element in that hierarchy.
HierarchySortOrder = Sets the order in which elements in a dimension are organized and displayed.
HierarchyTimeLastUpdated = Returns a number that refers to the last time the hierarchy was updated.
HierarchyTopElementInsert = Adds a root element to a hierarchy, if there isn’t any root element in it.
HierarchyTopElementInsertDirect = Adds a root element to the target hierarchy if there isn’t any root element in it. This function is actioned immediately.
HierarchyUpdateDirect = Performs a full rewrite of a hierarchy that has been subject to direct editing.