HierarchyTopElementInsertDirect adds a root element to the target hierarchy if there isn’t any root element. This function is actioned immediately. To action this function until the process makes a commitment (e.g. at the end of executing the metadata tab), use HierarchyTopElementInsert.
In the video, HierarchyTopElementInsertDirect will be used to insert the element, Total Customer, in the Customer dimension to position 1.
TurboIntegrator
Version 11 and 12
HierarchyTopElementInsertDirect(DimensionName, HierarchyName, InsertionPoint, ElementName)