Variance reporting example

From period records to a variance you can trace.

Follow revenue, costs and the plan into contribution and a signed variance bridge. Inspect how the reported movements connect to source records and reconcile to the overall result.

What changed against the same-period plan?

Use a defined period, currency and contribution basis. Read the calculated movement separately from a business cause that may need more evidence.

Start with the plan and actual records.

The package keeps the measures and source files available for inspection.

01

plan.csv

The plan values used for the comparison.

02

revenue.csv and costs.csv

The period activity and included cost records behind actual contribution.

03

config.json

The currency, reporting period and definitions used by the example.

Inspect contribution, the bridge and source references.

Check the channel results, signed movements and exceptions in the generated output. Follow the references back to the input lines used by each measure.

Synthetic demonstration data.

2026-09-01 – 2026-09-30 · USD

This runnable pattern shows the record, structure, calculation, explanation and review stages of an implementation. An AI-assisted project may add extraction or explanation with a configured provider; financial controls remain deterministic.

Contribution by channel

Scroll to inspect every column. Source IDs link to the original record.

Contribution by channel · USD
ChannelPlan net revenueActual net revenuePlan contributionActual contributionChangeSource IDs
DTC$11,400.00$12,000.00$3,540.00$3,160.00−$380.00CT-01 CT-02 CT-03 CT-04 PL-01 PL-02 PL-03 PL-04 PL-05 PL-06 RV-01 RV-02 RV-03 VR-CONFIG
Marketplace$7,600.00$7,100.00$2,000.00$1,520.00−$480.00CT-05 CT-06 CT-07 CT-08 PL-07 PL-08 PL-09 PL-10 PL-11 PL-12 RV-04 RV-05 RV-06 VR-CONFIG

Why contribution changed

Scroll to inspect every column. Source IDs link to the original record.

Why contribution changed · USD
DriverPlanActualContribution effectSource IDs
Gross sales$20,000.00$20,400.00$400.00PL-01 PL-07 RV-01 RV-02 RV-04 RV-05 VR-CONFIG
Refunds$1,000.00$1,300.00−$300.00PL-02 PL-08 RV-03 RV-06 VR-CONFIG
Product cost$7,000.00$7,300.00−$300.00CT-01 CT-05 PL-03 PL-09 VR-CONFIG
Fulfillment$1,700.00$1,850.00−$150.00CT-02 CT-06 PL-04 PL-10 VR-CONFIG
Platform fees$1,560.00$1,570.00−$10.00CT-03 CT-07 PL-05 PL-11 VR-CONFIG
Advertising$3,200.00$3,700.00−$500.00CT-04 CT-08 PL-06 PL-12 VR-CONFIG

Period exclusions for review

Scroll to inspect every column. Source IDs link to the original record.

Period exclusions for review · USD
ExceptionExcluded amountFindingSource IDs
EXCLUDED_OUTSIDE_PERIOD$500.00Record falls outside the exact plan/actual period and contributes zero to this report.CT-09 VR-CONFIG
EXCLUDED_OUTSIDE_PERIOD$900.00Record falls outside the exact plan/actual period and contributes zero to this report.RV-07 VR-CONFIG

Review before operational use

  • Confirm period completeness and account classification.
  • Approve the contribution definition and excluded source rows.
  • Review the arithmetic drivers without inferring causation.

Reproduce the result

Download the complete package, unzip it and run Node.js from the extracted folder. The archive includes both examples, source records, tests and answer keys. No API key is required.

Download complete example package ↓
node verify.mjs
node run.mjs --example variance-reporting --output generated/variance-reporting
Commands inside the project checkout
node site/implementation-examples/2026-10-29/run.mjs --example variance-reporting --output site/implementation-examples/2026-10-29/outputs/variance-reporting
node --test site/implementation-examples/2026-10-29/tests/*.test.mjs
Source code, answer keys and package manifest

Trace a source ID

CT-01costs.csv · line 2Open source file
source_id
CT-01
cost_id
COST-DTC-P
date
2026-09-30
channel
DTC
category
product_cost
amount_cents
470000
currency
USD
CT-02costs.csv · line 3Open source file
source_id
CT-02
cost_id
COST-DTC-F
date
2026-09-30
channel
DTC
category
fulfillment
amount_cents
100000
currency
USD
CT-03costs.csv · line 4Open source file
source_id
CT-03
cost_id
COST-DTC-C
date
2026-09-30
channel
DTC
category
platform_fees
amount_cents
39000
currency
USD
CT-04costs.csv · line 5Open source file
source_id
CT-04
cost_id
COST-DTC-A
date
2026-09-30
channel
DTC
category
advertising
amount_cents
275000
currency
USD
CT-05costs.csv · line 6Open source file
source_id
CT-05
cost_id
COST-MKT-P
date
2026-09-30
channel
Marketplace
category
product_cost
amount_cents
260000
currency
USD
CT-06costs.csv · line 7Open source file
source_id
CT-06
cost_id
COST-MKT-F
date
2026-09-30
channel
Marketplace
category
fulfillment
amount_cents
85000
currency
USD
CT-07costs.csv · line 8Open source file
source_id
CT-07
cost_id
COST-MKT-C
date
2026-09-30
channel
Marketplace
category
platform_fees
amount_cents
118000
currency
USD
CT-08costs.csv · line 9Open source file
source_id
CT-08
cost_id
COST-MKT-A
date
2026-09-30
channel
Marketplace
category
advertising
amount_cents
95000
currency
USD
CT-09costs.csv · line 10Open source file
source_id
CT-09
cost_id
COST-OCT-A
date
2026-10-01
channel
DTC
category
advertising
amount_cents
50000
currency
USD
PL-01plan.csv · line 2Open source file
source_id
PL-01
plan_id
PLAN-DTC-S
period_start
2026-09-01
period_end
2026-09-30
channel
DTC
metric
gross_sales
amount_cents
1200000
currency
USD
PL-02plan.csv · line 3Open source file
source_id
PL-02
plan_id
PLAN-DTC-R
period_start
2026-09-01
period_end
2026-09-30
channel
DTC
metric
refunds
amount_cents
60000
currency
USD
PL-03plan.csv · line 4Open source file
source_id
PL-03
plan_id
PLAN-DTC-P
period_start
2026-09-01
period_end
2026-09-30
channel
DTC
metric
product_cost
amount_cents
420000
currency
USD
PL-04plan.csv · line 5Open source file
source_id
PL-04
plan_id
PLAN-DTC-F
period_start
2026-09-01
period_end
2026-09-30
channel
DTC
metric
fulfillment
amount_cents
90000
currency
USD
PL-05plan.csv · line 6Open source file
source_id
PL-05
plan_id
PLAN-DTC-C
period_start
2026-09-01
period_end
2026-09-30
channel
DTC
metric
platform_fees
amount_cents
36000
currency
USD
PL-06plan.csv · line 7Open source file
source_id
PL-06
plan_id
PLAN-DTC-A
period_start
2026-09-01
period_end
2026-09-30
channel
DTC
metric
advertising
amount_cents
240000
currency
USD
PL-07plan.csv · line 8Open source file
source_id
PL-07
plan_id
PLAN-MKT-S
period_start
2026-09-01
period_end
2026-09-30
channel
Marketplace
metric
gross_sales
amount_cents
800000
currency
USD
PL-08plan.csv · line 9Open source file
source_id
PL-08
plan_id
PLAN-MKT-R
period_start
2026-09-01
period_end
2026-09-30
channel
Marketplace
metric
refunds
amount_cents
40000
currency
USD
PL-09plan.csv · line 10Open source file
source_id
PL-09
plan_id
PLAN-MKT-P
period_start
2026-09-01
period_end
2026-09-30
channel
Marketplace
metric
product_cost
amount_cents
280000
currency
USD
PL-10plan.csv · line 11Open source file
source_id
PL-10
plan_id
PLAN-MKT-F
period_start
2026-09-01
period_end
2026-09-30
channel
Marketplace
metric
fulfillment
amount_cents
80000
currency
USD
PL-11plan.csv · line 12Open source file
source_id
PL-11
plan_id
PLAN-MKT-C
period_start
2026-09-01
period_end
2026-09-30
channel
Marketplace
metric
platform_fees
amount_cents
120000
currency
USD
PL-12plan.csv · line 13Open source file
source_id
PL-12
plan_id
PLAN-MKT-A
period_start
2026-09-01
period_end
2026-09-30
channel
Marketplace
metric
advertising
amount_cents
80000
currency
USD
RV-01revenue.csv · line 2Open source file
source_id
RV-01
transaction_id
ORDER-DTC-1
date
2026-09-05
channel
DTC
type
sale
amount_cents
800000
currency
USD
RV-02revenue.csv · line 3Open source file
source_id
RV-02
transaction_id
ORDER-DTC-2
date
2026-09-21
channel
DTC
type
sale
amount_cents
500000
currency
USD
RV-03revenue.csv · line 4Open source file
source_id
RV-03
transaction_id
REFUND-DTC-1
date
2026-09-25
channel
DTC
type
refund
amount_cents
-100000
currency
USD
RV-04revenue.csv · line 5Open source file
source_id
RV-04
transaction_id
ORDER-MKT-1
date
2026-09-07
channel
Marketplace
type
sale
amount_cents
450000
currency
USD
RV-05revenue.csv · line 6Open source file
source_id
RV-05
transaction_id
ORDER-MKT-2
date
2026-09-20
channel
Marketplace
type
sale
amount_cents
290000
currency
USD
RV-06revenue.csv · line 7Open source file
source_id
RV-06
transaction_id
REFUND-MKT-1
date
2026-09-29
channel
Marketplace
type
refund
amount_cents
-30000
currency
USD
RV-07revenue.csv · line 8Open source file
source_id
RV-07
transaction_id
ORDER-AUG-1
date
2026-08-31
channel
DTC
type
sale
amount_cents
90000
currency
USD
VR-CONFIGconfig.json · line 1Open source file
source_id
VR-CONFIG
currency
USD
period_start
2026-09-01
period_end
2026-09-30
channels
DTC,Marketplace
metrics
gross_sales,refunds,product_cost,fulfillment,platform_fees,advertising
Explore the related implementation

Use the bridge to organise the review.

Confirm that driver movements reconcile to the contribution variance. Read the measure definitions before interpreting a cost movement as favourable or adverse.

01

Definitions

Check net revenue, included costs and the contribution basis.

02

Signs and totals

Compare plan and actual on the same basis and reconcile the bridge.

03

Business explanation

Ask what the records establish and what still needs operating context before an action is approved.

Repeat the calculation with the supplied package.

Download the inputs and generated outputs or run the included processing command. The package produces a source-linked arithmetic explanation. Review additional business causes against the evidence before using them.

Choose one reporting pack to map.

Describe the period report, source files and explanations your team prepares repeatedly. Use the assessment to define the output and tests for a first pilot.

Your next workflow

Choose one process to improve.

Describe the records, the repeated task and the result your team needs.

Start your workflow assessment