Documentation Index
Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
Use this file to discover all available pages before exploring further.
atoti.rank(measure, hierarchy, /, *, ascending=True, apply_filters=True)
Return a measure equal to the rank of a hierarchy’s members according to a reference measure. Members with equal values are further ranked using the level order.- Parameters:
- measure (VariableMeasureConvertible) – The measure on which the ranking is done.
- hierarchy (Hierarchy) – The hierarchy containing the members to rank.
- ascending (bool) – When set to
False, the 1st place goes to the member with greatest value. - apply_filters (bool) – When
True, query filters on the given hierarchy will be applied before ranking members. WhenFalse, query filters on the given hierarchy will be applied after the ranking, resulting in “holes” in the ranks.
- Return type: MeasureDefinition