Can we add a tooltip while having a link url as well?

I have a dimension with a link that is used to route to another page. Also, I would like to add a tooltip on the same dimension.

As mentioned in this question we can add a tooltip using html anchor so I ended up with the following, however now the tooltip works but the link doesnt anymore.

Any ideas are appreciated!

dimension: price {
   type: number
   value_format: "0.00"
   link: {
      label: "LABEL HERE"
      url: "SOME_URL_HERE"
    }
   sql: ${TABLE}."price" ;;
   html: <a title={{ table.table_column_name._rendered_value }}> {{rendered_value }}</a> ;;
}
1 Like

Actually I found a solution to edit the html to

html: <span title={{ table.table_column_name._rendered_value }}> {{linked_value}} ;;

1 Like