When I send a dashboard to my users via email through the scheduling filter, either in pdf or png, looker adds the filters and the values that were used to build this dashboard right under the header of the rendered dashboard.
For some users, this creates a very unpleasant look, due to the sheer amount of filter values that are used to build their dashboards.
Can I remove the filters from the rendered dashboard? If so, how could I accomplish this?
Solved! Go to Solution.
In short, hiding the filters is possible in the embedded version of a dashboard. The LookML code you would need to add to the dashboard definition is simply to edit (or add) the embed_style and set 'show_filters_bar: false' as below:
If you then add 'embed' to the dashboard URL between your host name and the word 'dashboards' as below:
...it will open the dashboard in the embedded style you set, with no filters. From there, you can click on the three dots at the top right of the dashboard and schedule delivery of the dashboard from there with no filters visible, so you would not have to use the API for this.
There is no way to do this in User Defined Dashboards, but if you convert your dashboard to a LookML Dashboard, the option is available to you. Is this something that would work for you?
This could work, it should be possible to schedule the delivery of a LookML dashboard through the API, right? I need a dashboard ID for that.
What field/value do I need to set in the LookML Dashboard to hide the filters in the rendered version?
In short, hiding the filters is possible in the embedded version of a dashboard. The LookML code you would need to add to the dashboard definition is simply to edit (or add) the embed_style and set 'show_filters_bar: false' as below:
If you then add 'embed' to the dashboard URL between your host name and the word 'dashboards' as below:
...it will open the dashboard in the embedded style you set, with no filters. From there, you can click on the three dots at the top right of the dashboard and schedule delivery of the dashboard from there with no filters visible, so you would not have to use the API for this.