Skip to content

How do we get a statistical forecast for the budget, checked before we trust it?

Ask for a revenue forecast from your actuals history. Querri tests it on months it never saw, compares it with "same month last year", says when its range is too narrow, and saves the model with the step. Then hold next year's plan up against it.

Open Querri

What you'll need

Querri (Free trial) to build the forecast and test it

Your actuals history and your plan: Step 1 says what each needs to hold

Monthly history, the longer the better: ours has 45 months, so each month of the year appears three or four times

Free resources

Start your free trial here →

Sample data sets

Synthetic data for a made-up company with three entities. Not real financial data.

Need help?

If you have any questions, you can request a demo or email our team.

Before we begin

Most budget baselines are last year plus a percentage. It's quick, and nobody checks it. A forecast is only useful to finance if it says how wrong it has been on months it didn't see, and how that compares with the naive answer.

This playbook builds a revenue forecast by entity that tests itself and shows its working, then holds next year's plan up against it. We did it without a data scientist.

How it works:

  • • Upload the actuals history and the plan workbook
  • • Ask for the forecast, and how accurate it is
  • • Open the Model report to see how far to trust it
  • • Refine the step with a feature, kept only where it helps
  • • Hold the FY28 plan up against the forecast

Follow the steps

Open Querri →
1 Step 1:

Upload the actuals history and the plan workbook

Two files, one project:

  • •

    Actuals history (an export from NetSuite, QuickBooks or any accounting system): one row per entity, department, account and month. Ours has 2,160 rows: 45 months for each of three entities, February 2023 to October 2026.

  • •

    Plan workbook: the FY28 plan from the scenario planning playbook, with Base, Downside and Upside on its Plan sheet. Step 5 uses the Base revenue.

Each entity keeps its own currency: USD, CAD and GBP. Start a new project and attach both files. Prefer live data? Querri connects to your accounting system and your spreadsheets directly.

Tip: Upload the history as it comes out of the ledger. Querri filtered it to the Revenue rows itself: 135 of them, one per entity per month.

  • Actuals history
  • NetSuite ledger
  • QuickBooks ledger
  • Plan workbook
Querri One project
2 Step 2:

Ask for the forecast, and how accurate it is

Ask for the forecast, and in the same breath ask the question that matters more: how accurate is it, and compared with what?

Prompt

"Forecast monthly revenue for each entity for the next 15 months (November 2026 to January 2028) from the actuals history. Tell me how accurate the forecast is and what you compared it with."

The plan was one step, Revenue forecast by entity, and it took about 70 seconds. It tested four methods per entity on three rolling 9-month windows of recent months, fitting on earlier data only. A trend plus a month-of-year pattern won for all three. Error here is WAPE: average error as a share of actual revenue. On the held-out months it was 4.0%, against 11.3% for "same month last year" and 8.0% for "last value".

The prompt in a Querri project and, under it, the Revenue forecast by entity card: panels for CA and UK with actual revenue as a line, the forecast as a dashed line and a shaded range around it
The caption under the forecast chart with a Model report button beside it, and Querri's written answer with points on forecast totals, accuracy by entity, method, ranges that are too narrow and later months that are less certain
Entity15-month forecastSame month last yearForecast error
US (USD)9.66M11.7%2.6%
CA (CAD)4.12M11.3%5.5%
UK (GBP)2.13M10.9%3.9%
All threenot added11.3%4.0%

15-month forecast in each entity's own currency, and error on held-out months (WAPE).

3 Step 3:

Open the Model report to see how far to trust it

The forecast card has a Model report button. It opens the step's expanded view on a second tab, beside Result. There's nothing to ask here. Read it before you use the forecast.

Read the range twice. It's labelled 80%, but only 63% of the latest held-out months landed inside a range sized on the earlier windows: 56% for CA and UK, 78% for the US. Querri widened the CA and UK ranges to the latest window's errors and said to treat them as optimistic. It also warned that the test scored 9 months ahead while the forecast runs 15, so months 10 to 15 are less certain, and that with about 3.75 years of history each month's seasonal pattern rests on three or four observations. Download model gives you the fitted model as a .joblib file.

The Model report tab for the forecast step: held-out WAPE 4.0% beside a baseline of 11.3%, 65% less error than the baseline, four warnings in an amber box, the validation and prediction interval figures, a table by segment for CA, UK and US, and a Download model button
On the reportValue
Held-out error (WAPE)4.0%
Baseline: same month last year11.3%
Less error than the baseline65%
Backtest3 folds, 9 months held out
Range: nominal level80%
Range: measured coverage63%
Featuresmonth of year, linear trend

What the Model report shows for this forecast.

4 Step 4:

Refine the step with a feature, and keep it only where it helps

Revenue might depend on how many working days a month has. Don't assume it. In the step's expanded view, type the request in the refine box and let Querri test it:

Prompt

"Add the number of working days in each month as a feature and keep it only if it lowers the held-out error."

It ran in place as Version 2 of 2 of the same step, in about 60 seconds, with the same backtest. Working days lowered the held-out error only for CA, so it was kept there. The UK came out the same with and without it. The US was worse with it, so it was dropped. Overall error is 4.0% either way. Querri also said what the feature is, Monday to Friday counts with no public holidays, and suggested a holiday calendar as the next refinement.

The forecast step's expanded view on the Result tab: three panels for CA, UK and US revenue with the forecast and its shaded range, the result summary on the right, and the working days request typed in the refine box
The Model report for Version 2 of 2: the CA model is now trend + month of year + working days at 5.4%, UK and US stay on trend + month of year, and working days (Mon-Fri, per month) is listed under Features
EntityWithoutWithResult
CA5.5%5.4%Kept
UK3.9%3.9%Same, left out
US2.6%2.8%Worse, dropped

Held-out error (WAPE) with and without working days.

5 Step 5:

Hold the FY28 plan up against the forecast

Now use it. Back in the project chat, ask where the Base plan runs ahead of the forecast:

Prompt

"Compare the forecast for February 2027 to January 2028 with the Base scenario revenue in the FY28 plan, by entity and month. Where is the plan more than 5% above the forecast?"

Three steps: Querri pulled the Base revenue out of the workbook (36 rows), joined it to the forecast (all 36 entity-months matched) and filtered. Only one entity-month has the plan more than 5% above the forecast: the US in January 2028, with 664,826.77 planned against 630,173.30 forecast, or +5.5%. Everywhere else the plan is at or below the forecast. The gaps run from -24.9% to +5.5% and average -7.5%. CA's plan is 11.0% under the forecast in February 2027 and 13.9% under in November 2027.

What Querri added:

The one breach is at the far end of the horizon, where the forecast is least certain. Treat it as a flag to review.

Querri's answer in the project chat: a one-row table for US, January 2028, with forecast revenue 630173.30 and plan revenue 664826.77, a gap of 5.50%, and under it the written answer saying that everywhere else the plan is at or below the forecast
EntityBase planForecastPlan vs forecast
US (USD)7,557,5047,781,104-2.9%
CA (CAD)2,920,5273,309,832-11.8%
UK (GBP)1,562,7381,713,636-8.8%

FY28 revenue, February 2027 to January 2028: Base plan against the forecast, each entity in its own currency.

Give next year's plan a baseline that has been tested.

Try it on your own history
Querri for finance See how Querri helps finance teams bring the plan, the budget and actuals together. See Querri for finance

Tips for a forecast finance can defend

Ask what it was compared with

An error of 4.0% means little alone. Next to 11.3% for same month last year and 8.0% for last value, you can see what the model adds.

Read the range, not just the line

The 80% range held only 63% of the latest held-out months. Querri widened it for CA and the UK and said to treat it as optimistic. Plan with that in mind.

Trust the near months more

The test scored 9 months ahead and the forecast runs 15. Months 10 to 15 are less certain, and that's where the one plan breach sits.

Test a feature before you keep it

Working days helped CA (5.4% against 5.5%), changed nothing for the UK and made the US worse (2.8% against 2.6%). It stayed only where it helped.

It also works for driver analysis

The same checks apply when the question is why, not what next. In a separate run we gave Querri a product price list of 1,532 rows covering 320 SKUs and asked:

Prompt

"What drives list price? Validate the drivers statistically."

  • • One statistics step. Before fitting anything it audited the inputs and left out sku, product_name and price_list_row as identifiers. Its note on sku: "a key for the product, not a property of it; category, brand and size are used instead".
  • • It used category, brand, size, region, channel and unit_cost.
  • • It validated with 5-fold cross-validation, holding whole SKUs out together, because each SKU appears about five times.
  • • Held-out mean absolute error was 5.92, against 77.6 for guessing the average: 92% less error.
  • • Unit cost correlates 0.98 with price on its own, but adds almost nothing once category, brand and size are in.

The price list isn't one of this playbook's sample files. It's here to show the same habits on a different question: audit the inputs first, validate on data held out, and compare with the naive answer.

The Model report for a List Price Drivers step: held-out MAE 5.92 beside a baseline of 77.6, 92% less error than the baseline, two warnings, and the start of the list of features used and left out
The Features section of the same report: category, brand, size, region, channel and unit_cost under Used; sku, product_name and price_list_row struck through under Left out, each with a reason
DriverShare of variation
Category71.8%
Size16.7%
Brand3.6%
Region0.4%
Channel0.2%

List price: the share of price variation each driver explains.

Frequently asked questions

Do we need a data scientist for this?
We didn't use one. We asked in plain English and got one step that picked a method, tested it on held-out months and reported the result. The Model report shows the validation, the warnings and the features, so finance can judge the forecast for itself.
How do we know how accurate the forecast is?
It was tested on months it didn't see: three rolling 9-month windows of recent months, fitted on earlier data only. Its error on those months was 4.0% of actual revenue. That's a measure of how wrong it has been, not a promise about next year.
What is the forecast compared with?
Two naive answers, scored on the same held-out months. "Same month last year" was off by 11.3% and "last value" by 8.0%, against 4.0% for the forecast. That's 65% less error than same month last year.
How far should we trust the range around the forecast?
Less than its label. The range is labelled 80%, but only 63% of the latest held-out months landed inside a range sized on the earlier windows: 56% for CA and UK, 78% for the US. Querri widened the CA and UK ranges and said to treat them as optimistic.
How far ahead does the test reach?
Nine months. The forecast runs 15, so Querri warned that months 10 to 15 are less certain. It also said that with about 3.75 years of history, each month's seasonal pattern rests on three or four observations.
Which methods did it try?
Four per entity, and a trend plus a month-of-year pattern won for all three. After we asked for working days there were five candidates, and only CA's model took the new feature.
Can we add a feature of our own?
We added one by refining the step. Asked to add working days and keep it only if it lowered the held-out error, Querri kept it for CA (5.4% against 5.5%), found no difference for the UK and dropped it for the US, where it made the error worse.
What's in the model we download?
A .joblib file. Loaded in Python it's a dictionary keyed by entity, with the fitted coefficients and the range widths. On an earlier run of the same flow we checked that the saved coefficients reproduce the forecast values exactly.
How does this handle more than one currency?
Each entity is forecast in its own currency and the three are never added together. The 15-month totals were 4.12M CAD for CA, 2.13M GBP for the UK and 9.66M USD for the US.