Can you use both link and html in a dimension?

Knowledge Drop

Last tested: Jan 14, 2021
 

The goal is to format the text, like with color or underline, and also have a link parameter with multiple drilldown options.

This works:


dimension: status {

type: string

html: <p style="color: black; background-color: lightblue; font-size:100%; text-align:center">{{ linked_value }}</p>;;

link: {

label: "testit"

url: "https://lookerv720.dev.looker.com/looks/20"

}

sql: ${TABLE}.status ;;

This content is subject to limited support.                

Version history
Last update:
‎07-07-2021 01:14 PM
Updated by: