# OPENKPIEXPLORER

Use variables, on-load, and on-data-change scripts to open the KPI Explorer without requiring access to the toolbar.

#### Syntax <a href="#syntax" id="syntax"></a>

```javascript
OPENKPIEXPLORER()
```

#### Example <a href="#example" id="example"></a>

Create a button variable to call the OPENKPIEXPLORER function.

<figure><img src="/files/FepCcD5j5LRvWDRvMAOD" alt=""><figcaption><p>Creating a button variable to trigger the OPENKPIEXPLORER function</p></figcaption></figure>

Users can click the KPI Explorer button variable and do not need access to the toolbar to use the KPI Explorer.

<figure><img src="/files/FepCcD5j5LRvWDRvMAOD" alt=""><figcaption><p>OPENKPIEXPLORER</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/planning-sheets/formula-syntax/scripting-functions/openkpiexplorer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
