Does adding the always_filter parameter affect all looks and tiles previously created?

Knowledge Drop

Last tested: Aug 14, 2018
 

Yes.
Adding always_filter to an existing explore definition adds the set of filters with the default values to any Looks, Explores, or dashboard tiles based on that explore, including previously saved Looks and dashboard tiles that are based on the explore.

What this means is:
You can have a LookML filter for California Users
explore: users {

label: "users_california"

always_filter: {

filters: {

field: state

value: "California" } }}

But, if you have a filter for "Texas" in the dashboard it will change to a "Texas" Filter.
Fun Fact, Exploring from Tile will have "Texas" filter, editing tile will have "California" Filter

Docs: https://docs.looker.com/reference/explore-params/always_filter

This content is subject to limited support.                

Version history
Last update:
‎05-07-2021 09:49 AM
Updated by: