> For the complete documentation index, see [llms.txt](https://docs.infotopics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infotopics.com/supertables/configuration/configuration-screen/data-tab/sparklines-pane/sparkline-date-filtering.md).

# Sparkline Date Filtering

### Creating the Date Filter

To prevent creating an overwhelming and strange looking Sparkline that includes a date field as one of its axis it is recommended to use the Date Filter panel.

<figure><img src="/files/ydTJgR6m9nkT2X92hQfU" alt=""><figcaption></figcaption></figure>

You can either define a **Standard** **range** or a **Custom** **range.**

{% tabs %}
{% tab title="Standard Range" %}

<figure><img src="/files/8yB4WvAF92BhYJcKy9y3" alt=""><figcaption></figcaption></figure>

This uses a predefined range starting from whatever anchor point you select.

* **Time period -** The time between each data point. This can either be Day, Week, Month, Quarter and Year.
* **Number of (Time period) -** Defines how many instances of the time period chosen are selected in the axis.
* **Anchor point -** Defines where to start creating time periods from. You can choose from the current day **(Today),** the most recent data point **( Latest Data )**, or from a **Specific Date**
  {% endtab %}

{% tab title="Custom Range" %}

<figure><img src="/files/AYY3E6FTIJsfAA20cblZ" alt=""><figcaption></figcaption></figure>

This uses a predefined range starting from whatever anchor point you select.

* **Time period -** The time between each data point. This can either be Day, Week, Month, Quarter and Year.
* **Start Date & End Date -** Defines the starting and ending data points to create time periods between. This means the number of time periods is completely dependant on the overall time between the two data points.
  {% endtab %}
  {% endtabs %}

An example of a result of using the date filter is shown below:\
\- **Using a standard range based on 12 Quarters from the Latest data point:**

<figure><img src="/files/HSvxQgfJHmAWc5ZWSyND" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tKbeJeqPRpWW26TGInLR" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.infotopics.com/supertables/configuration/configuration-screen/data-tab/sparklines-pane/sparkline-date-filtering.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.
