A data warehouse and SKU-level forecast that replaced the planning spreadsheet
Demand planning ran on a spreadsheet stitched together from ERP exports. We consolidated ERP, CRM and web-store data in Snowflake and put a weekly SKU-level forecast in front of planners in Power BI.
- −31% forecast error (WAPE) against the spreadsheet baseline
- −18% finished-goods inventory within two quarters
- Weekly S&OP numbers, previously monthly
- 01 Sources NetSuite, Salesforce, B2B web store
- 02 Fivetran Managed ELT, hourly syncs
- 03 Snowflake + dbt Tested models for orders, shipments, inventory
- 04 Forecast pipeline statsforecast + LightGBM, orchestrated in Dagster
- 05 Power BI S&OP dashboard, forecast vs. actuals
The situation
The company builds and services industrial equipment sold through distributors and a B2B web store. Every month a planner exported data from NetSuite, open opportunities from Salesforce and orders from the web store into a 40-tab spreadsheet to estimate demand. It took a week to build, broke whenever a column moved, and its numbers rarely matched finance’s. Stockouts on fast movers sat alongside slow stock nobody wanted.
What we built
A Snowflake warehouse fed by Fivetran from NetSuite, Salesforce and the web store, modeled with dbt into tested tables for orders, shipments, inventory and pipeline. Finance and operations agreed on one definition of bookings and shipped revenue, written down in the dbt project where anyone can read it.
On top of that sits a weekly forecasting pipeline: a statistical baseline for every SKU, plus a gradient-boosted model that uses open opportunities, distributor orders and seasonality for the 600 SKUs that matter most. Dagster runs it every Sunday night, MLflow tracks each run, and planners see forecasts, error and recommended reorder points in Power BI on Monday morning.
Results
Forecast error fell by about a third against the old spreadsheet in back-testing, and the improvement held in production. Finished-goods inventory came down while service levels went up, and S&OP moved from a monthly argument about whose numbers were right to a weekly review of the same ones.