---
module: reports.queries
title: Saved Queries
tab: Customer
order: 10
audience: customer
---

Saved Queries let you attach reusable presets to a report — a named date range and set of ATMs — so you can run the same report the same way every time without re-picking options.

## 📂 Open Saved Queries
1. On the **Templates** tab, find your report in the list.
2. Click the **Queries** button on that report's row (the count in brackets shows how many it already has).
3. The Saved Queries panel opens beneath the report.

## ➕ Create a Query
1. Click **+ New Query**.
2. Give it a **Name** (e.g. "Downtown branch — last 30 days").
3. Choose a **Date Range**: All time, Last 7 days, Last 30 days, This month, Last month, or a **Custom range** with your own start and end dates.
4. Pick which ATMs to include — leave it empty to cover **All ATMs**, or select specific machines.
5. Save. The query now appears as a card in the panel.

## ▶ Using a Query
- When you click **Run** on a report, your saved queries appear as ready-made options — pick one instead of setting the date range and ATMs by hand.
- Click **Edit** on a query card to change its name, dates, or ATMs, or **Delete** to remove it.

## 🕐 Schedule a Query
1. First make sure the report has a schedule turned on.
2. On a query card, click **Set Scheduled** to make that query the one used for automatic runs — it gets a **Scheduled** badge.
3. Click **Unschedule** to stop using it for scheduled runs.

## What you're looking at
Each query card shows:
- **Name** — your label for the preset.
- **Date range** — the period the report covers (custom ranges show the exact start and end dates).
- **ATMs** — either the number of selected machines or **All ATMs**.

> **Good to know:** A report needs at least one saved query before it can run on a schedule. Only one query can be the scheduled one at a time.
