Usage
view: view_name {
filter: field_name {
default_value: "chosen default value"
}
}
|
Hierarchy
default_value |
Possible Field Types
Filter, Parameter
Accepts
Static, literal strings
Special Rules
If an Explore specifies a value for this field in an always_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.
See the following example of this parameter's usage:
filter: order_region {
default_value: "Northeast"
}
-
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.
This parameter doesn't accept Liquid variables or user attributes.