Skip to main content

property Measure.formatter : str | None

Formatter of the measure.
The formatter only impacts how the measure is displayed, derived measures will still be computed from unformatted value. To round a measure, use atoti.math.round() instead.

Example

The spec for the pattern between the DATE or DOUBLE’s brackets is the one from Microsoft Analysis Services. There is an extra formatter for array measures: ARRAY['|';1:3] where | is the separator used to join the elements of the 1:3 slice.