synonyms

Usage

view: view_name {
  dimension: field_name {
    synonyms: ["synonym1", "synonym2", "…"]
  }
}
Hierarchy
synonyms
Possible Field Types
Dimension, Dimension group, Measure, Filter, Parameter

Accepts
A string or a list of strings

Definition

The synonyms LookML parameter lets you specify a list of words or phrases that can be used to help large language models or application developers understand other ways that users may refer to a field. Synonyms aren't surfaced in a Looker Explore but instead appear as part of a field's metadata when you use the Looker API to get information about a LookML model.

Example

dimension: customer_password {
  type: string
  sql: ${TABLE}.customer_password ;;
  synonyms: ["password"]
}