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
Properties
The name of the dimension. Dimension names must:
- Be unique within the view
- Start with a letter
- Contain only alphanumeric characters and underscores
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.Date dimensions
When you apply agroup_label to a date dimension, all timeframe variations (day, week, month, year, etc.) automatically nest under the parent field name within that group. For example:
Parent date field with a group label
timeframes: [].
Examples
Grouping fields
Nesting under a timeframe group
Standalone date dimensions
group_label is "Created At" not "created_at", as the group label must match the label, not the field:
Custom timeframe in existing group
Nested groups
Grouping types of customer data- YAML
- Field browser result
- YAML
- Field browser result