dimension

LookML
Version

On this Page
Docs Menu

Go to Field Parameter List

Definition

The dimension parameter declares a new dimension and specifies a name for that dimension.

The name must:

  • be unique within any given view
  • consist of characters a through z (no capital letters), 0 through 9, or _
  • start with a letter

There are many types of dimensions, as discussed further here.

Examples

Create an id and supplier_name dimension in a view named products:

- view: products fields: - dimension: id primary_key: true sql: ${TABLE}.id   - dimension: supplier_name sql: ${TABLE}.supplier_name

Still have questions?
Go to Discourse - or - Email Support
Top