Time Range Filter
Enable users to view business performance metrics (Revenue, Bookings, Covers, Page Views, Capacity Utilization) based on selected dynamic time filters (e.g. Today, Last 7 days, This Month) for performance analysis.
Today
- Range: From opening hour to closing hour today.
- Granularity: Data shown per hour.
- Use case: Enables real-time monitoring of today's performance (e.g., hourly bookings or revenue).
Last 7 Days
- Range: The last 7 full days (e.g., if today is July 21, range is July 15–21).
- Granularity: Data shown per date.
- Use case: Tracks recent weekly trends in activity.
Last 30 Days
- Range: The last 30 days until today (e.g., if today is July 19, range is June 20–July 19).
- Granularity: Data shown per date.
- Use case: Provides a month-long view for trend analysis by day.
This Month
- Range: From the first day of the current month up to today.
- Granularity: Data shown per date.
- Use case: Displays monthly performance up to the current date.
Last Month
- Range: From day 1 of last month through the last day of that month.
- Granularity: Data shown per date.
- Use case: Provides a complete snapshot of the previous month’s performance.
Last 3 Months
- Range: From the first day of the month 2 months ago to the current month (e.g., if today is June 30, range is April 1–June 30).
- Granularity: Data shown per month (3 data points total).
- Use case: Ideal for quarterly trend comparison across months.
Summary Table
| Period | Date Range | Granularity | Purpose |
|---|---|---|---|
| Today | Opening hour – Closing hour today | Per hour | Real‑time daily monitoring |
| Last 7 Days | Today minus 6 days to today | Per date | Short‑term weekly trends |
| Last 30 Days | Today minus 30 days | Per date | Month‑long trend analysis |
| This Month | 1st of current month – Today | Per date | Current month performance |
| Last Month | 1st – Last day of previous month | Per date | Full previous month snapshot |
| Last 3 Months | 1st day 2 months ago – current month | Per month | Quarterly trend summary |