User Guide Getting Started Help Center Documentation Community Training
New LookML
Old LookML
New LookML
view_label (for Fields)

This page refers to the view_label parameter that is part of a dimension, measure, or filter.

view_label can also be used as part of an Explore, described on this documentation page.

view_label can also be used as part of a join, described on this documentation page.


view: view_name {
  dimension: field_name {
    view_label: "desired label name"



Possible Field Types

Dimension, Dimension Group, Measure, Filter, Parameter


A string


The view_label parameter enables you to change how a view name appears in the Field Picker, and which fields will appear within a view. If not specified, the view label defaults to the name of the view.

Fields with view labels are still referenced with the normal ${view_name.field_name} syntax in LookML. The view label only impacts the appearance of the Field Picker.

Also, note the difference between a field’s view_label and the field’s label. The view_label changes only the view name under which the field is listed, and not the name displayed for the field itself:


Make this dimension appear under the Identifiers view instead of the Distribution Centers view in the Field Picker.

view: distribution_centers { dimension: id { view_label: "Identifiers" type: number sql: ${TABLE}.id ;; } }