Data & reporting / Reference project

Marginbook

A margin workspace that follows the money to the line item.

Margin review with sample records
Project notes

Behind the workflow.

Challenge

A product report counted the sale immediately but treated shipping and returns as monthly adjustments.

Approach

Join shipped items, actual freight and returns at order-line grain. Keep discrepancies visible until finance can resolve them.

Solution

A contribution statement shows the revenue, freight and return adjustments behind each product total.

Worked example

Follow one record.

Sample input

Net sales $120 · cost $65 · freight $9 · returns $10

Inspect the contribution calculation
  1. Start with $120 in sales.
  2. Deduct $65 in product cost and $9 in freight.
  3. Apply the $10 return adjustment. Contribution is $36.

An order line without an actual freight charge is flagged for reconciliation.

Reference results

Separate extracts to open

4Baseline
1Proposed workflow

Compare four source extracts with one reconciled view. This measures workflow steps, not query latency. These numbers describe the sample scenario.

Technology stack

SQLPythonPower BI

Interface gallery

Next project

Signaldesk

Explore Signaldesk

A triage queue that pairs AI suggestions with human judgment.