Omniscope Custom Views › forecast

Forecast

Where is this heading? A forecast for any measure in your data, with ranges, seasonality and a built-in check of how accurate it would have been, live in an Omniscope report.

Line and scatter visokio-agents

Open the demo in Omniscope Download demo.ioz Sample data: daily_visits.csv Sample data: sales_history.csv Source on GitHub

Items tagged visokio-agents are community examples built by Visokio's agents, to extend Omniscope's core blocks and views with popular, specialist and more unusual use cases, and to show what anyone, people or agents, can build on Omniscope. They are tested by automated tests and were run on a real Omniscope server. They were not reviewed by Omniscope's core team, so they are not on a par with the core blocks and views, which have years of manual, functional and unit tests behind them. About

Where is this heading? A forecast for any measure in your data, with ranges, seasonality and a built-in check of how accurate it would have been, live in an Omniscope report.

Live: illustrative monthly sales with a 12-month forecast and its 80% and 95% ranges. The orange dashed line is a backtest: what the same method would have forecast a year ago. Hover any month for the figures.

The problem it solves

Every planning conversation needs a forecast: next quarter's sales, next month's call volumes, stock for the peak season. Most dashboards show history only, and forecasts are produced elsewhere, in spreadsheets with hand-built formulas or by a data science team, so they are slow to update and hard to slice by region or product. And a single forecast line without a range hides how uncertain it is.

The Forecast view fits a forecast in the report itself, from the same data as the rest of the dashboard. It picks up the trend and the seasonal pattern, draws 80% and 95% ranges, and runs a backtest: what the same method would have forecast for the last year, compared with what actually happened. In the illustrative sales history above, the backtest error is about 2% a month, half the error of simply repeating the same month from the year before. Filter to one category and the forecast is re-fitted for it:

Live: the same view filtered to the Garden category, which peaks in spring, forecast 18 months ahead.

Where it earns its place

The examples below are illustrative.

Team Series Decision
Sales and finance Monthly sales or revenue Budget, targets, cash planning
Supply chain Weekly demand by product Purchasing and stock levels
Operations Daily calls, visits or orders Staffing and shifts
Marketing Weekly traffic or leads Campaign planning and pacing
Facilities and energy Monthly consumption Contracts and budgets

How to use it in Omniscope

  1. Bring the history into a workflow with a date and a measure (transactions are fine; the view aggregates them).
  2. Connect it to a Report block, add a view and choose Forecast.
  3. Set Dated by and Forecast (for example sum of Sales), and choose the Period.
  4. Set Periods ahead, and use History shown to focus the chart on recent years.
  5. Use filters in other views (region, product, channel) to forecast any slice.

Why do this in Omniscope

Data and options

A date and a measure.

Option What it does
Dated by The date field
Forecast The measure to forecast
Period Day, week, month, quarter or year (and its season)
Periods ahead Forecast horizon
Season Automatic, additive or multiplicative
Seasonal Off for series without a repeating pattern
Show backtest Forecast of the most recent periods, for accuracy
History shown Past periods drawn

Tested with 400,000 daily transactions aggregated to weeks.

Tested

Hovering over the forecast
Hovering over the forecast
Running on the Omniscope server
Running on the Omniscope server

Reference

Fields it reads

NameTypeWhat it does
Dated byFIELDThe date of each record, e.g. Order date, Month
ForecastMEASUREThe measure to forecast per period, e.g. sum of Sales or record count

Options

NameTypeWhat it does
PeriodCHOICESize of each period (default month); also sets the length of the season
Periods aheadNUMBERHow far to forecast (default one season, e.g. 12 months)
SeasonCHOICEHow the seasonal pattern behaves
SeasonalTOGGLETurn off for series without a repeating pattern
Show backtestTOGGLEForecast the most recent periods from the history before them, to show how accurate the method is
History shownNUMBERPeriods of history drawn (0 or blank for all); the model always uses all history

Third-party libraries