User Guide Getting Started Help Center Documentation Community Training
New LookML
Old LookML
New LookML
Looker
  
English
日本語
group_label (for Explores)

This page refers to the group_label parameter that is part of an Explore.

group_label can also be used as part of a field, described on this documentation page.

Usage

explore: explore_name {
  group_label: "Label to Use as a Heading in the Explore Menu"
}

Hierarchy

group_label

Default Value

With no group_label defined, Explores are grouped by model, with each word capitalized and underscores replaced by spaces

Accepts

A string

Definition

Use group_label to change the default organization of the Explore menu. The group_label parameter specifies the label to use as a heading in the Explore menu for this Explore.

Instead of each Explore being listed under its model’s name, you can list an Explore under a new group label or under another model’s name. Adding the same group_label to multiple Explores will list all of those Explores under the same heading in the Explore menu. You can use group_label to group Explores together even if they are defined in different projects.

For the discussion below, consider the following example of an Explore menu:

Examples

Create a group heading in the Explore menu called Online Store Queries and list the Customers Explore under that heading in the Explore menu:

explore: customers { group_label: "Online Store Queries" }

By adding the group_label to two different explores, you can group them together under the Online Store Queries label:

The Explores would then be listed together under that label in the Explore menu:

Common Challenges

group_label Has No Effect Other Than Changing the Explore Menu Appearance

When you change the group_label of an Explore, this only affects the Explore’s heading in the Explore menu. To change the display name of the Explore itself, use the label parameter.

The way that fields should be referenced in the LookML goes unchanged. The way that fields will appear within the Explore UI is also unchanged.

Top