Last tested: May 2020
If you have a default value set for a dashboard filter, then the usual method of setting dashboard filter values by URL does not work in all cases. For example, if you set the dashboard filter to the empty string like so:
Then Looker will overwrite this empty string with the default value.
Instead, you need to add in a space character, known in HTML as
%20. It doesn't cause the query to search for a space, but it does force the default value to be empty.
Note: This will default the filter type to
is equal to. If you want to change that, you can mess with the filter_config part of the dashboard, which you can find in the back half of the Looker-generated URL. You will want to use an URL decoder to help you change the values. In this example, to change the filter type to
contains, you would do:
Decoded, the filter_config is an array. Notice we're putting
contains as the type and
"" as the value.
This content is subject to limited support.