From bc6ec6dff8d94152d8fd9f51e71a513937c6e11a Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Wed, 28 Jan 2026 16:38:06 +0100 Subject: [PATCH] Fix Forecast Period discrepancy by excluding month filter from seasonality data --- App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/App.tsx b/App.tsx index ba00992..c311214 100644 --- a/App.tsx +++ b/App.tsx @@ -233,7 +233,8 @@ const App: React.FC = () => { // Filter rawData to respect customer selections but keep all years (2025 for seasonality, 2026 for actuals) const forecastRelevantData = filterData(rawData, { ...filters, - year: [] // Ensure we don't filter out 2025/2026 if a single year is selected in UI + year: [], // Ensure we don't filter out 2025/2026 if a single year is selected in UI + month: [] // EXCLUDE month filtering to preserve seasonality calculation in calculateForecastViewData }); handleForecastFetch(forecastRelevantData, rawData, filters); }