Codex Forecast Gap

Coming soon Chart

See where actuals diverge from forecast.

See it in action

Shaded gap lines
Compare actuals with the dashed forecast and see where the gap changes direction.
Codex Forecast Gap: Compare actuals with the dashed forecast and see where the gap changes direction. Codex Forecast Gap: Compare actuals with the dashed forecast and see where the gap changes direction.
Gap columns
Spot positive and negative gaps, with MAPE and forecast bias above the chart.
Codex Forecast Gap: Spot positive and negative gaps, with MAPE and forecast bias above the chart. Codex Forecast Gap: Spot positive and negative gaps, with MAPE and forecast bias above the chart.
Dumbbell month rows
Compare actual and forecast values side by side for each month.
Codex Forecast Gap: Compare actual and forecast values side by side for each month. Codex Forecast Gap: Compare actual and forecast values side by side for each month.

Overview

Use one date per period and compare actuals and forecast at the same grain. For the monthly example, both measures represent demand for the same month.

Ideal For

  • See where actuals diverge from forecast.

Key Features

  • Bind the date to Period, the actual measure to Actual, and the forecast measure to Forecast.
  • Try Shaded gap lines first, then compare with columns or Month Rows. Use the direction of the gap and the bias label to separate missed targets from forecast error.
Pro Tip

Check the sign convention: the point gap is actual minus forecast; positive bias means the total forecast was higher than actual across complete pairs.

Help guide

What goes in each field

Field well Put in Required What it does
Period Date or period column Yes One comparable point per period. Prefer an actual Date column for calendar order.
Actual Measure Yes The observed value for that period.
Forecast Measure Yes The forecast or plan for exactly the same time period and unit.

Build the measures

The example assumes a Demand table with both quantities. If actuals and forecasts live in separate fact tables, relate each table to the same calendar at a compatible grain. Keep the forecast version filtered to one snapshot before summing.

Actual demand = SUM ( Demand[Actual] )

Forecast demand = SUM ( Demand[Forecast] )

Use a month-start date when analysing monthly forecasts, not a text month name that sorts alphabetically. For an intentionally unobserved period, return blank rather than zero. Use zero only when demand was genuinely zero. Check both measures in a Table across the same filter context before comparing them.

Put it together

  1. Drag the date to Period, then bind Actual demand and Forecast demand.
  2. Open Comparison. Try Shaded gap lines first: the two lines show level and direction, and the shading shows where they differ.
  3. Switch to Gap columns to compare signed gaps quickly, then Dumbbell month rows to read the two markers and the individual miss.
  4. Use label font size, density and display units in Comparison for the space available. Make sure the axis and tooltip use units your reader can recognise. Keep favourable direction separate from the arithmetic sign.

Walk through the sample

The 12 monthly pairs sum to 788,000 actual and 795,000 forecast. Six months finished above forecast. The visual reports 16.3% MAPE and +0.9% bias (forecast ran high).

  • A period's signed gap is Actual − Forecast. Positive means actual was higher.
  • MAPE is the average of the absolute percentage misses for eligible pairs with a nonzero actual. It describes magnitude, not direction. It is not a percentage of the final totals.
  • Bias compares total Forecast with total Actual across complete pairs, using the absolute total Actual as the denominator. Positive means the forecast ran high. Bias and the per-period gap intentionally use opposite subtraction directions.

Try selecting a shorter time window. The summary is recalculated for the periods passed to the visual, so do not expect the same totals after filtering.

Tips and troubleshooting

  • Periods are missing: check for blank values or inconsistent date relationships. A month with only one side cannot contribute a complete pair.
  • A zero-actual month doesn't have a miss percentage: division by zero has no meaningful percentage. Keep the absolute gap as the operational signal.
  • Bias is blank while values are present: check whether total Actual equals zero or the remaining pairs are incomplete.
  • A line looks better but the model is not improving: check both MAPE and bias over the same periods. Large positive and negative gaps can offset in bias.

For help, contact Nexus Codex support.

Planned launch pricing

US$1.79 per user/month

1–19 seats · not available to buy yet

Coming soon to AppSource
See planned volume pricing
Planned price per user (USD)
SeatsMonthlyAnnual
1–19$1.79$17.90
20–99$0.90$9.00
100–499$0.35$3.50
500–999$0.18$1.80
1,000–4,999$0.12$1.20
5,000–10,000$0.054$0.54

Category Chart
Tooltips
Cross-filtering
High Contrast