persist_with (for Explores)

Stay organized with collections Save and categorize content based on your preferences.

This page refers to the persist_with parameter that is part of an Explore.

persist_with can also be used as part of a model, described on the persist_with parameter documentation page.


explore: explore_name {
  persist_with: airports_datagroup
Default Value

The name of a datagroup.


Use persist_with under the explore parameter to specify a datagroup caching policy to use for that specific Explore.

To specify a default datagroup for all Explores in a model, you can use the persist_with parameter at the model level.

If you include a persist_with parameter under the explore parameter and also at the model level, the Explore will use the datagroup caching policy specified under the explore parameter.

See caching for an overview of datagroups.


Use the orders_datagroup caching policy for an Explore:

explore: customer_facts {
  persist_with: orders_datagroup