How do I preserve drill behavior when using HTML on a field?

Knowledge Drop

Last Tested: May 13, 2020

You can use the {{link}} and {{linked_value}} liquid variable. This will point to the regular drill link of the field.

You can use it with html tags like this:

Option 1

<a href="{{link}}"> {{value}} </a>

Option 2

<p style="font-size: 15px">{{linked_value}}</p>

If you are adding this to a measure, note that it must have a drill_fields parameter or else a LookML error will occur that linked_value is not defined.

This content is subject to limited support.                

Version history
Last update:
‎04-05-2021 09:12 AM
Updated by: