# Choose a date range for Analytics
Pick a preset such as Last 7 days or Month to Date, or set your own start and end dates, for the whole Analytics page.
The date range sets the period for the whole **Analytics** page: the totals, the chart and every card. It starts at **Last 30 days**.
## Step 1: Open the date range
1. In the sidebar, choose **Analytics**.
2. Choose the date range button at the top of the page. It shows the current period, for example **Last 30 days**.
```screenshot analytics/choose-an-analytics-period/01-date-range-picker
alt: The open date range picker on the Analytics page with the preset list and the From and To date fields
caption: Pick a preset, or set your own dates.
```
## Step 2: Pick a preset
Choose one of the presets. On a computer, you can also press its key while the picker is open.
| Preset | Key |
|---|---|
| **Last 24 hours** | D |
| **Last 7 days** | W |
| **Last 30 days** | T |
| **Last 3 months** | 3 |
| **Last 12 months** | L |
| **Month to Date** | M |
| **Quarter to Date** | Q |
| **Year to Date** | Y |
| **All Time** | A |
The page reloads for the new period.
## Step 3: Set your own dates (optional)
1. In the picker, enter a **From** date and a **To** date.
2. Choose **Apply**.
The button now shows your dates. The **To** day is included in the report.
> [!TIP]
> The period is saved in the page's web address, together with your tab and filters. Bookmark the page to come back to the same view.
## If something goes wrong
| What you see | What to do |
|---|---|
| **No data available** on the cards | Nothing happened in that period. Choose a longer preset, such as **Last 3 months**. |
| The numbers changed while you watched | Today is still going. New orders and visits are added as they happen. |
| A card shows **Failed to load** | A long period can take more time. Choose **Retry** on the card, or pick a shorter period. |
## Related
- [Read your sales report](/support/analytics/read-your-sales-analytics)
- [Review and export events](/support/analytics/review-and-export-analytics-events)
