# extension (for Explores)

<br />

> This page refers to the `extension` parameter that is part of an [Explore](https://docs.cloud.google.com/looker/docs/reference/param-explore).
>
> `extension` can also be used as part of a view, as described on the [`extension` (for views)](https://docs.cloud.google.com/looker/docs/reference/param-view-extension) parameter documentation page.
>
> `extension` can also be used as part of a LookML dashboard, as described on [Dashboard parameters](https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard#extension) documentation page.

## Usage

```
explore: explore_name {
  extension: required
}
```

|---|---|
| Hierarchy [Model File](https://docs.cloud.google.com/looker/docs/reference/param-model) [`explore`](https://docs.cloud.google.com/looker/docs/reference/param-explore-explore) `extension` | Default Value None <br /> Accepts The value "required" |

## Definition

The `extension: required` parameter flags an Explore as requiring extension, which means that the Explore cannot be used on its own. The contents and settings of the Explore will only be used when the Explore is extended using the [`extends`](https://docs.cloud.google.com/looker/docs/reference/param-explore-extends) parameter in another Explore.

An Explore with `extension: required` is not visible to users on its own; it is intended only to act as a starting point to be extended by other Explores.

The `extension` parameter accepts only the value `required`. If you don't want to require extension for an Explore, leave out the `extension` parameter entirely.

An Explore with `extension: required` cannot be used as an `explore_source` for a [data test](https://docs.cloud.google.com/looker/docs/reference/param-model-test). The [LookML Validator](https://docs.cloud.google.com/looker/docs/lookml-validation#validating_your_changes) will generate an error that the `explore_source` cannot be found.

See [Reusing Code with Extends](https://docs.cloud.google.com/looker/docs/reusing-code-with-extends) for more information on using `extends` for LookML objects.

## Example

This `basic_order_fields` Explore has the `extension: required` parameter, so the Explore itself will not be visible to users:


    explore: basic_order_fields {
      extension: required
    }

To make use of the `basic_order_fields` Explore, we can create another Explore that extends it, like this:


    explore: marketing_order_fields {
      extends: [basic_order_fields]
    }

It may be tempting to turn on [`hidden`](https://docs.cloud.google.com/looker/docs/reference/param-explore-hidden) to hide **Basic Order Fields** , but remember that such a setting is going to be inherited by any Explore that is based on **Basic Order Fields** . In this particular example, **Marketing Order Fields** would be hidden as well if you turned on [`hidden`](https://docs.cloud.google.com/looker/docs/reference/param-explore-hidden).