Qonnex
Education6 min read

Demand forecasting data to check before you build a model

Build a practical data checklist for order history, inventory gaps, promotions, and the information planners actually had at each forecast date.

Qonnex Editorial · Business operations and AI consulting

Two warehouse employees use a barcode scanner and tablet to check stock.
AI-generated illustration of warehouse staff reconciling physical stock with inventory records.

Demand forecasting data needs to show what customers wanted, when they wanted it, and where you could fulfill it. A sales export records what actually sold. During a stockout, a low count may reflect a shortage rather than weak demand. Build a dataset that gives your planners enough context to tell the difference.

Start with one decision. A distributor planning next month's purchase quantities might need a weekly forecast per SKU and warehouse. The checklist below follows that illustrative case from raw orders to a dataset the planning team can review and reproduce.

Define the demand signal and the planning decision

Write down which decision the forecast supports, which unit it predicts, how far ahead it looks, and when it is made. For a purchasing team meeting on Mondays, a useful target could be requested units by SKU, supplying warehouse, and week. Record the order timestamp and requested delivery date separately so the team can agree which date assigns demand to the week.

Map that definition to what the source actually records. Requested units may be available on confirmed orders. Shipped units may be easier to extract but can lag the request or omit unfilled quantities. Canceled orders, returns, transfers, and backorders need explicit treatment. A return is a separate event for a gross-demand target. A backorder that ships later should not appear as demand again if the original request already counted.

A purchasing planner reviews printed order records beside a laptop and calendar.
Keep the original order date and requested delivery date so planners can build the right weekly demand series.

Build a demand forecasting data checklist

Start with the order line or other source record and keep enough identifiers to explain how it contributes to a weekly total. Join availability and events at the same product and location level where possible. Document the grain of each feed, who owns it, when a record first becomes visible, and how corrections are handled.

Starter data dictionary for a weekly SKU and warehouse forecast
Data inputFields and checks
Orders and fulfillmentOrder and line IDs, SKU, warehouse, order and requested delivery dates, requested and shipped quantities, units, status. Reconcile to source totals.
Product and locationStable SKU and warehouse IDs, base unit, dated pack conversion, and active dates. Check that each ID maps to one record at the relevant time.
AvailabilitySKU, warehouse, available quantity or stockout flag, observation time, and evidence source. Preserve an unknown status.
Store or warehouse calendarDate, local time zone, fiscal week, and whether the location was open. Use a consistent week boundary.
Promotions and planned changesSKU and locations, planned start and end, price or event type, and the time the plan was known. Preserve actual dates separately.
Source delivery and ownershipSource system, owner, refresh schedule, cutoff, and completeness status. Log late records and revisions.

Before aggregating, test for duplicate order lines, unknown items, impossible dates, and join keys that map one event to several products or warehouses. Convert case packs to the agreed base unit with dated conversion rules where pack sizes change. Reconcile a sample of weekly totals to source transactions. If the reconciliation breaks at a handoff, the CRM–ERP integration guide offers a way to assign ownership to the affected fields.

Separate stockouts, missing data, and genuine zero sales

Suppose the distributor ships eight units of SKU A on Tuesday, then runs out before midday. A buyer whose order is backordered may leave a trace. A buyer who calls another distributor may never appear in the system. Shipping records alone show eight shipments, while the product had limited availability for part of the day. Keep an availability flag and the source of the evidence alongside the observed quantity.

Compare that with an in-stock Wednesday when a complete file contains no orders and a Thursday when the source file fails to arrive. Wednesday can be a zero. Thursday should be marked missing until you know what happened. If stock records disagree, use an unknown availability status and assign a person to resolve it. A warehouse count can surface a discrepancy that a system snapshot alone would miss.

A warehouse employee with a scanner checks an empty shelf position.
Check availability before interpreting a low sales period. Stock counts can help resolve gaps in the system record.

Keep observed sales separate from any estimated adjustment for lost demand. Save the reason and method, then test whether the choice improves forecasts on comparable periods. Oracle Retail's forecasting guide provides a documented example of storing raw sales, outage indicators, and outage adjustments separately.

Keep promotion and source versions available as of the forecast date

Save the planned promotion calendar as it stood when each forecast was issued. Record actual promotion dates and prices separately. An April promotion moved from week two to week three can be useful to explain the final sales, but the corrected date cannot enter a backtest as if planners knew it weeks earlier. Apply the same principle to revised lead times and updated inventory records.

Use time-ordered testing with multiple forecast dates when the history supports it. Preserve the actual data cutoff per run and test the forecast horizon the buyer will use. Forecasting: Principles and Practice explains time series cross-validation using earlier observations for training and later ones for evaluation. Once the inputs pass these checks, use the Qonnex guide to demand forecasting methods to choose a baseline.

Agree who can release the forecast inputs

Set a refresh time and a data owner for each source. Add checks for missing files, unexpected drops in covered SKUs, duplicate rows, and times when inventory history is too stale to classify availability. Decide who can accept a flagged input, who can pause the run, and whether buyers can use the last available forecast while a feed is repaired. The Qonnex business reporting guide shows how a similar freshness check works for a scheduled report.

Release the first dataset after a planner can explain an ordinary week, a promotion week, and a week affected by shortages using the underlying records. Give them the field definitions, known gaps, and refresh cutoff with the extract. That gives the purchasing team a way to recognize when a forecast is drawing on weaker evidence.

Frequently asked questions

You don't pay unless we save you money.

See How the Engagement Works