Question

Having trouble passing {{ _filters [...] }} into HTML field

  • 13 June 2022
  • 1 reply
  • 62 views

Hi everyone! So I am working on implementing a “tabbed” dashboard for our business users a la this community post and am having some difficulty actually getting the _filters Liquid parameter correctly parsed in the URL. I have created a text box object with some HTML in the body (just like the original post):

<a href="https://instance.cloud.looker.com/dashboards/2?Is+Active+(Yes+%2F+No)={{ _filters['dim_users.is_active'] | url_encode }}&Full+Date={{ _filters['dim_date.full_date'] | url_encode }}"><button>SUMMARY</button></a>

When clicking the button, I am taken to the correct dashboard, however my filters contain the literal Liquid value as seen in the below screenshot:

I have tried this many different ways but can’t seem to get it to work! Any ideas as to what I’m doing wrong here? Thank you!


This topic has been closed for comments

1 reply

Hi, I’m struggling with the same. Seems like this used to work in the past based on the many posts on this forum.