User Guide Getting Started Help Center Documentation Community Training
New LookML
Old LookML
New LookML
Looker
  
English
Français
Deutsch
日本語
default_value

Usage

view: view_name {
  filter: field_name {
    default_value: "desired default value"
  }
}

Hierarchy

default_value

Possible Field Types

Filter, Parameter

Accepts

A string containing the desired filter value

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.

An example of its usage is:

filter: order_region { default_value: "Northeast" }

Common Challenges

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.

Top