Knowledge Drop

Can you use both link and html in a dimension?


Userlevel 1

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.                

 

 


0 replies

Be the first to reply!

Reply