This page refers to the
labelparameter that is part of an Explore.
labelcan also be used as part of a model, described on this documentation page.
labelcan also be used as part of a view, described on this documentation page.
labelcan also be used as part of a field, described on this documentation page.
labelcan also be used as part of a reference line, described on this documentation page.
label: "desired label"
Default ValueThe name of the
label helps make Explores more user-friendly by allowing you to set the Explore titles in the Explore menu and in the Explores themselves:
If you do not explicitly add a
label to an Explore definition, the label defaults to the name of the
explore, but nicely formatted. Underscores are changed to spaces, and each word is capitalized.
Make the Explore menu option appear as Users instead of User:
Make the Explore menu option appear as Product ID Info instead of Product Id Information:
label Has No Effect Other Than Changing the Explore Menu Appearance
When you change the
label of an Explore, only the Explore menu is affected.
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. If you prefer the LookML references and field names to change, use the
from parameter instead.
Things to Know
label When Possible by Naming Explores Properly
If you know that you always want an Explore to appear in a certain manner to your business users, consider giving that name to the
explore in your LookML. Then you won’t need to use
label is only used when you want to:
- Change the way that an Explore name is formatted. For example, you can make the Explore name “abc_info” appear as “ABC Info” instead of “Abc Info”.
- Create two different Explores that are based on the same view.