How to allow dimension/measure tooltip in Looker to show the description to user when pointing over name of the object in a Look (Table)?

  • Datameer, Inc.
  • January 25, 2018
Get Started Transforming Your Data in Snowflake

We can enable tooltip for dimensions and measures by adding descriptions in their respective LookMLs. Please consider the examples below:

measure: gross_margin {
  description: This measure provides Gross Margin on each sale.
  type: sum
  sql: ${TABLE}.gross_margin ;;
}
dimension: product {
  description: This field provides the name of the Product sold.
  type: string
  sql: ${TABLE}.product ;;
}

Once the description has been added for the fields in LookML, the users would start seeing the tooltip for these fields as they hover over them in the Explore window.

 


Up Next:

Read How to use a dimension from another view in Looker?