Dashboard Mode - Moving average
Dashboard Goal
Understand sales trends over time by showing monthly sales and their 3-month moving average.
Understand sales trends over time by showing monthly sales and their 3-month moving average.
| Month | Sales |
|---|---|
| 2024-01 | 100 |
| 2024-02 | 150 |
| 2024-03 | 130 |
| 2024-04 | 170 |
| 2024-05 | 160 |
| 2024-06 | 180 |
| 2024-07 | 200 |
WINDOW_AVG(SUM([Sales]), -2, 0)
+----------------------+----------------------+
| KPI Card | |
| Latest Month Sales | |
+----------------------+----------------------+
| Line Chart (Sales & MA) |
| |
| |
+----------------------------------------------+
| Data Table |
+----------------------------------------------+
User can filter by date range using a date slider. When the date range changes, the line chart, KPI card, and data table update to show only the selected months.
This helps focus on specific periods and see how the moving average adapts.
If you add a filter to show only months from 2024-03 to 2024-06, which components update?