# Working with sample datasets

Usually, once a user chooses a chart to add to a Vizpad, the results are rendered to the entire dataset. To avoid the time-consuming overhead while processing large datasets, Tellius introduces an option using which you can query for only sample data. This results in faster iterations and makes the overall process more efficient and time-saving. The super admins can determine whether users can enable/disable sample data to run the queries.

{% hint style="info" %}
When enabled, queries will be applied to the first 5000 rows of a dataset. Querying on sample data is recommended while dealing with Live connections and/or large datasets.
{% endhint %}

{% hint style="warning" %}
The sample data is applicable only while building the Vizpad. Once the Vizpad is saved, the results will be reflected in the entire dataset.
{% endhint %}

<figure><img src="https://files.helpdocs.io/6dnnwn52e3/articles/nz4wevns63/1670588197104/ek-8-ng-fdvo-f-79-jopglscl-9-lnp-406-syb-k-waj-escskj-sdeznq-vunf-7-gb-ztb-c-8-o-qgr-9-s-rhy-6-a-1-eajz-tfmdttgvk-2-x-1-w-qb-o-2-s-cm-vbi-07-dr-5-vf-yefs-0-k-hhewfi-fdt-njeajy-aa-7-y-l-1-x-od-jakc-4-cwrs-1-e-8-kk-6-n-3-g-mg-7-k-i-57-drtdde-cfci-mngy-jx-7-iozn-9-h-1-s-13-xg" alt="Processing queries on sample data in a Vizpad" width="563"><figcaption><p>Sample data vs Full data in Vizpads</p></figcaption></figure>

When you are editing/building a Vizpad from Explore, you can find the **Run queries on** dropdown.

* Select **Sample data** to query sample data.
* Select **Full data** to query the entire dataset.

### Configuring the "Sample Dataset" toggle

The toggle button in the Vizpad will be hidden by default. The visibility of the toggle button can be set up in **Settings**.&#x20;

To enable users to choose the required data size,

1. Navigate to **Settings → Application Settings → Vizpad**.
2. Under **Editing the Vizpad**, switch on the toggle for **Data limitation for queries**.
3. When it’s switched on, users can choose if they want the results to be applied on a limited (**Sample Data**) or entire dataset (**Full Data**).
4. By default, querying on **Sample data** will be enabled during edit mode.

<figure><img src="https://files.helpdocs.io/6dnnwn52e3/articles/nz4wevns63/1670588236433/sj-s-8-yuv-rz-63-zzrfudy-7-am-c-0-z-e-0-qg-za-2-amhb-zhngyrqwh-fzj-g-5-fye-00-q-3-r-cmq-63-kzl-ccn-ub-2-viagyztn-hhe-1-d-04-csopz-35-p-ggnkchmzvg-lkqevne-45-atf-z-39-b-9-o-7-ryf-6-gve-0-rfnjw-xwz-it-72-its-dadg-lk-zials-b-7-snv-wubayn-l-99-qhyc-hthm-3-tm-926-q" alt="Enabling sample/full data from Settings" width="563"><figcaption><p>Configuring the sample dataset</p></figcaption></figure>

<br>


---

# 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://help.tellius.com/tellius-6.3/vizpads-explore/working-with-sample-datasets.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.
