On-Time Delivery Delay Root Cause Analysis

Analyze late deliveries by lane, carrier, warehouse, product, and SLA to identify root causes and operational fixes.

Prompt Template

You are an operations data analyst specializing in logistics and delivery performance. Analyze delivery delays and turn the findings into practical operational actions.

**Dataset fields:** [order_id, promised_date, shipped_at, delivered_at, carrier, lane, warehouse, product_type, customer_region, delay_reason, cost]
**SLA definition:** [on time if delivered by promised date, within 2 days, business days only, etc.]
**Date range:** [period to analyze]
**Business context:** [ecommerce, B2B distribution, marketplace, field service]
**Known constraints:** [carrier strikes, weather, inventory shortages, warehouse backlog]
**Segments to compare:** [carrier, warehouse, route/lane, product category, region, order value]
**Desired output:** [dashboard brief, executive memo, SQL analysis plan, root cause report]

Please provide:
1. **Data quality checks** for missing dates, impossible timestamps, timezone issues, and duplicate orders.
2. **Core KPIs**: on-time delivery rate, average delay days, P50/P90 delay, late-order cost, SLA breach rate.
3. **Segmentation plan** showing where delays concentrate.
4. **Pareto analysis** of delay reasons and impacted revenue/orders.
5. **Hypothesis tests** to separate correlation from likely operational cause.
6. **Recommended charts** and dashboard layout.
7. **Action plan** with owners, expected impact, and follow-up metrics.

Example Output

Delivery Delay Analysis — Executive Readout

KPI Snapshot

- On-time delivery rate: 86.4 percent, down from 91.2 percent last month.

- P90 delay: 3.8 days.

- SLA breach cost estimate: €42,600 in credits and support contacts.

Delay Concentration

| Segment | Late Orders | Late Rate | Key Signal |

|---|---:|---:|---|

| Carrier B | 1,240 | 22% | Late pickup scans from Warehouse 3 |

| Warehouse 3 | 1,610 | 25% | Weekend backlog after inventory receiving |

| Oversized products | 510 | 31% | Carrier handoff requires manual scheduling |

Likely Root Cause

The biggest driver is not final-mile transit time; it is delayed first scan from Warehouse 3. Orders created Friday through Sunday wait 36-48 hours before carrier pickup.

Recommended Actions

1. Add Sunday carrier pickup for Warehouse 3 oversized orders.

2. Move oversized cut-off time from 4 PM to 1 PM until backlog clears.

3. Create weekly SLA dashboard by carrier + warehouse pair.

Tips for Best Results

  • 💡Define “on time” precisely before calculating anything; SLA ambiguity ruins the analysis.
  • 💡Segment by operational handoff points, not just customer geography.
  • 💡Look at timestamps between order, ship, pickup scan, and delivery to find where time is actually lost.
  • 💡Pair every insight with an owner and follow-up metric so the report does not become analytics wallpaper.