Usage
filter: field_name {
default_value: "desired default value"
}
}
Hierarchydefault_value |
Possible Field TypesFilter, ParameterAcceptsA string containing the desired filter valueSpecial RulesIf an Explore specifies a value for this field in analways_filter parameter, then that setting overrides the default_value setting for the field. |
Basics
The default_value
parameter is used to specify a default value for filter
fields and parameter
fields.
Avoid using
default_value
withparameter
if your data has values that include underscores.
An example of its usage is:
Common challenges
If an explore
parameter has a value specified by an always_filter
parameter, then that setting overrides the default_value
setting for the field.