Hi,
Is it possible to hide filters using a URL parameter.
Our use case is following:
We have embedded dashboard that is shown from two different pages. One page is a generic page and user selects the filter values using standard UI.
The second page passes in the context and want to hide the filter selection, but we don’t want to create the second identical page with show_filters_bar=true in Lookml.
Hide filters using URL parameter
Hello Ian,
yes this also works for sso embedding. Once you created the themes you can reference them in the URL part of the script. I created two themes, one without filter (‘jonathannofilterbar’) and one with filterbar(‘jonathanfilterbar’), please see the screenshots below:

When I use the theme with filterbar:


When I use the theme without filterbar:


Kind Regards.
Jonathan
does this work with SSO embedding as well? we were just having to duplicate a dashboard to set the embed settings on one as we want sso embedding with filters and again without.
Thanks, we will give it a try.
Hi
Thanks for reaching out. There is not a dedicated URL parameter that will control the hiding of filters, however, there is a new Beta feature (starting in version 5.22) called Embed Themes that may allow us to accomplish the same thing. We can create a new theme that hides the filter bar, and add that to the URL of our dashboard with ?theme=no_filter_theme
to the url_path
in your embed script. If you are interested in enabling this feature, please visit us at help.looker.com!
Thanks
Quinn
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.