Skip to main content

final class atoti.measures.Measures

Manage the Measure of a Cube. The built-in measure contributors.COUNT counts how many rows from the cube’s fact table contributed to each aggregate of a query:

Example

The caption of this measure can be changed with I18nConfig. A measure can evaluate to the current member of an expressed level:
Or, for a multilevel hierarchy:
A measure can be compared to other objects, such as a constant, a Level, or another measure. If some condition inputs evaluate to None, the resulting measure will evaluate to False:
Measures can be defined and redefined without restarting the cube but, at the moment, deleting a measure will restart the cube so it will be slower:
Trying to delete a measure that does not exist:
See also: