> ## Documentation Index
> Fetch the complete documentation index at: https://docs.queryful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# TIMESERIES

> Split the results into days, weeks or months across the date range.

`TIMESERIES` splits the results into periods across the date range, so you can see how a metric moves over time. Choose `day`, `week` or `month`.

```sql theme={null}
FROM sales
  SHOW net_sales, orders
  TIMESERIES week
  DURING last_quarter
```

Every period in the range gets a row, including ones with nothing in them, so a chart reads as a continuous line. Weeks start on the day set in **Settings › General**.

`TIMESERIES` works with [GROUP BY](https://docs.queryful.app/queryfulql/syntax/group-by.md), giving each group its own line over time:

```sql theme={null}
FROM sales
  SHOW net_sales
  GROUP BY sales_channel
  TIMESERIES month
  DURING this_year
  VISUALIZE net_sales TYPE line
```

Writing `GROUP BY month` does the same as `TIMESERIES month`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.