How it works
The easiest way to understand an LoD dimension is to read it as SQL. For example, thismax_age_in_country LoD finds the maximum user age within each country and attaches it to every user row:
fixed: [country] clause corresponds to the GROUP BY country in the inner query — one row per country, the level of detail. The join then carries that country-level value back to each user row, which is why the LoD behaves like a categorical dimension: every user in the same country shares the same max_age_in_country value.
Syntax
Properties
object
The name of the dimension. Dimension names must:
- Be unique within the view
- Start with a letter
- Contain only alphanumeric characters and underscores
Examples
Customer lifetime spend
Fixed level of detail
Exclude dimensions from grouping
Sum distinct on with custom primary key
Selectively ignore a specific global filter
Replace a cancelled filter with a different value
Compare with cancel_query_filters (all-or-nothing)

