Skip to main content
This parameter generates CASE WHEN... SQL statements in the background.

Limitations

This parameter is only compatible with string fields. Use bin_boundaries for numeric fields.

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

Behavior

By default, values that don’t match any group fall back to the else label (for example, Other). Setting else_raw_value: true allows unmatched values to keep their original value instead of being replaced by a label. Groups using else_raw_value also behave differently, namely:
  • They sort by value instead of by declaration order.
  • Filter suggestions for the field are queried live instead of listing the declared group names.
else and else_raw_value can’t both be set on the same groups definition.

Examples

Status grouping
Keep original value for unmatched states