← Back to Projects
DDL Case Study · Analytics Engine

Fleetline

Freight operations intelligence — load lifecycle, carrier scoring, lane revenue, exception management.

Problem

Freight brokers manage load data across a TMS, carrier emails, shipper portals, and a shared spreadsheet that's always two days behind. Margin visibility requires manual calculation. Carrier performance is institutional memory. Exceptions surface through phone calls, not dashboards.

Approach

A dimensional load intelligence stack — Fact_Load as the single source of truth for every load from book to deliver. Carrier and lane dimensions enable slice-and-dice across any combination. Exception rows are FK-linked to loads, not tracked in a separate tracker. Every margin calculation is in the schema, not a spreadsheet.

Deliverable

Operational dashboard with live load table, 12-month revenue trend, lane performance heatmap, carrier scorecard, open exception log, and a star schema architecture built on the same DDL dimensional methodology used across every other analytics engine in the portfolio.

▶ Operations Overview
Active Loads
47
FTL 31 · LTL 16
MTD Revenue
$371K
vs $344K last month
▲ +7.8%
Avg Margin
15.6%
target 14.0%
▲ above target
On-Time Rate
87%
L30 days · 136 loads
▼ 3 pts vs prior L30
Open Exceptions
4
2 carrier delays · 2 shipper
Carrier Pool
12
4 preferred · 8 backup
▶ 12-Month Revenue Trend (indexed)
AugSepOctNovDecJanFebMarAprMayJunJul
Prior 10 months Current month (MTD)
Active Loads
LoadLaneCarrierModeRevenueMarginStatus
FL-0841Chicago → AtlantaApex FreightFTL$3,24018.2%DELIVERED
FL-0842Dallas → DenverMesa CarriersFTL$2,87014.7%IN_TRANSIT
FL-0843Memphis → CharlotteRidge LogisticsLTL$1,14011.3%PICKED_UP
FL-0844LA → PhoenixSouthwest TransFTL$2,010EXCEPTION
FL-0845Houston → NashvilleApex FreightFTL$3,55019.1%BOOKED
Lane Performance · MTD
Chicago → Atlanta17.4% margin
42 loads · $132K92% on-time
Dallas → Denver14.2% margin
31 loads · $89K87% on-time
LA → Phoenix12.8% margin
28 loads · $56K79% on-time
Memphis → Charlotte10.6% margin
19 loads · $37K84% on-time
Houston → Nashville18.9% margin
16 loads · $57K94% on-time
Carrier Scorecard
Apex Freight94
38 loads94% on-timeclaim 0.2%rate adh 98%
Ridge Logistics85
29 loads88% on-timeclaim 0.6%rate adh 95%
Mesa Carriers74
22 loads81% on-timeclaim 1.1%rate adh 92%
Southwest Trans61
17 loads71% on-timeclaim 2.4%rate adh 88%
⚠ Exception Log
!
EXC-0019CARRIER_DELAYLoad FL-0844 · Southwest Trans · 14 hrs

Equipment swap at origin. Pickup pushed 18 hrs. Customer notified.

!
EXC-0018SHIPPER_NOT_READYLoad FL-0837 · Mesa Carriers · 6 hrs

Dock appointment missed. Carrier held at origin detention — billing flag raised.

!
EXC-0017CARRIER_DELAYLoad FL-0831 · Ridge Logistics · Resolved

Weather delay cleared. Delivered 4 hrs late. On-time exception recorded.

Architecture · Star Schema
CREATE TABLE Fact_Load (
  load_id  INT  PRIMARY KEY
  carrier_id  INT  REFERENCES Dim_Carrier
  lane_id  INT  REFERENCES Dim_Lane
  shipper_id  INT  REFERENCES Dim_Shipper
  period_id  INT  REFERENCES Dim_Period
  mode  VARCHAR(3)   -- FTL | LTL | PTL
  status  VARCHAR(20)   -- BOOKED → PICKED_UP → IN_TRANSIT → DELIVERED
  quoted_rate  DECIMAL(10,2)  
  carrier_pay  DECIMAL(10,2)  
  margin_pct  DECIMAL(5,2)   -- (quoted - carrier_pay) / quoted
  on_time_flag  BOOLEAN  
  exception_id  INT  REFERENCES Fact_Exception NULLABLE
-- Margin is a stored computed field — calculated once at DELIVERED status
-- Exception rows FK to Fact_Load — no separate tracker sheet
-- Carrier score is a DIM, not a fact — refreshed nightly from Fact_Load aggregation

Fleetline · v0.1 · Freight Operations Intelligence · Built by DDL · 2026