INVENTORY INTELLIGENCE / CASE STUDY
SQL Analysis
Executed local queries with downloadable results.
Completed synthetic-data analysis · Executed Python and local SQLite. No actual Home Depot records, live PostgreSQL connection, or native Power BI report.
64.7%Unit fill rate
36.37%Stockout store-product-days
$49,268Average inventory at cost
9,765Simulated unmet units
Stockouts & modeled revenue exposure
All 90 SQL rows| Store | SKU | Product | Stockout days | Rate | Unmet exposure |
|---|---|---|---|---|---|
| Simulated Store 3 | SKU-006 | Tape measure | 26 / 60 | 43.33% | $28,737 |
| Simulated Store 4 | SKU-006 | Tape measure | 26 / 60 | 43.33% | $27,063 |
| Simulated Store 5 | SKU-006 | Tape measure | 21 / 60 | 35% | $21,762 |
| Simulated Store 2 | SKU-006 | Tape measure | 23 / 60 | 38.33% | $20,367 |
| Simulated Store 5 | SKU-011 | Mulch | 23 / 60 | 38.33% | $20,290 |
| Simulated Store 3 | SKU-005 | Socket set | 29 / 60 | 48.33% | $19,462 |
| Simulated Store 1 | SKU-006 | Tape measure | 22 / 60 | 36.67% | $19,251 |
| Simulated Store 4 | SKU-011 | Mulch | 20 / 60 | 33.33% | $19,104 |
| Simulated Store 3 | SKU-011 | Mulch | 26 / 60 | 43.33% | $18,313 |
| Simulated Store 5 | SKU-005 | Socket set | 23 / 60 | 38.33% | $17,765 |
Exposure = simulated unmet units × assumed selling price. It is not actual lost sales or profit. The intentionally weak weekly baseline produces high stockouts; its performance is not representative of Home Depot.
Executed query sourceCategory-level working capital
| Category | Fill rate | Stockout rate | Avg. inventory | Turnover |
|---|---|---|---|---|
| Garden | 61.78% | 38.56% | $9,748 | 17.342× |
| Tools | 63.87% | 36.83% | $20,330 | 16.031× |
| Plumbing | 65.39% | 35.56% | $5,302 | 15.845× |
| Electrical | 65.49% | 35.56% | $9,175 | 16.051× |
| Paint | 68.41% | 34.89% | $4,713 | 16.125× |
COGS uses fulfilled sales units × unit cost. Average inventory uses daily closing inventory at cost over the same 60-day window. The PostgreSQL stockout query is an optional port; the downloadable executed queries use SQLite.