Resources · Functions Library · TurboIntegrator
TurboIntegrator

HierarchySortOrder

Sets the order in which elements in a dimension are organized and displayed.

Cubewise · YouTube
Where it's used
TurboIntegrator
TM1 server version
Version 11 and 12
Syntax

How you write it

HierarchySortOrder(DimensionName, HierarchyName, ComponentSortType, ComponentSortSense, ElementSortType, ElementSortSense)
DimensionNameName of the dimension to be sorted
HierarchyNameName of the Hierarchy to be sorted
ComponentSortTypeDetermines how components of consolidations will be sorted inside the dimension. There are two ways of sorting.
ComponentSortSenseRequired parameter but applied only when ‘ComponentSortType is ‘ByName’. Determines the order in which components of consolidations will be organized.
ElementSortTypeDetermines how elements will be sorted inside the dimension. There are four ways of sorting.
ElementSortSenseRequired parameter but applied only when ‘ElementSortType’ is ‘ByName’ or ‘ByLevel’. Determines the order in which consolidations will be organized.