Skip to main content

Limitations

Dimensions and measures can’t be grouped together. Applying the same group label to a dimension and a measure will result in two groups displaying in the field browser, not one group with both fields.

Syntax

<measure_name>:
  group_label: <group_name>

Properties

measure_name
object[]
The name of the measure. Measure names must:
  • Be unique within the view
  • Start with a letter
  • Contain only alphanumeric characters and underscores
group_label
string
Unquoted text specifying the group under which the field should appear in the field browser. Use the greater-than symbol (>) with whitespace on either side to create nested group hierarchies. Refer to the Organize fields with nested groups guide for more information and examples.

Examples

Group order_count under Important Fields
order_count:
  group_label: Important Fields
Group measures in a support_tickets view
first_response_breach_by_day:
  group_label: SLA breaches > First response

first_response_breach_by_month:
  group_label: SLA breaches > First response

breach_resolution_by_day:
  group_label: SLA breaches > Resolution

breach_resolution_by_month:
  group_label: SLA breaches > Resolution