Sample inventory movement data
Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.
What is in it
Each row is one stock movement in one of four fictional warehouses during 2024: product, movement type, units added or removed, unit cost, value change and the running balance after the movement, which never goes below zero. Use it to practise running totals, window functions and reconciling a ledger.
More practice tables like this one: all 22 newer sample datasets.
First rows
point at a column to light it up
| movement_idtext | movement_datedate | warehousetext | skutext | product_nametext | categorytext | movement_typetext | quantity_changenumber | unit_costnumber | value_changenumber | balance_afternumber | adjustment_reasontext |
|---|---|---|---|---|---|---|---|---|---|---|---|
| IM900001 | 2024-01-01 | Reno | P0002 | Ergonomic Task Chair | Furniture | Adjustment | -8 | 128.43 | -1027.44 | 304 | Count correction |
| IM900002 | 2024-01-01 | Dallas | P0014 | Wall Clock | Furniture | Shipment | -2 | 21.44 | -42.88 | 298 | |
| IM900003 | 2024-01-01 | Columbus | P0038 | Security Envelopes 500 | Office Supplies | Shipment | -38 | 13.99 | -531.62 | 115 | |
| IM900004 | 2024-01-01 | Atlanta | P0044 | Cordless Phone Set | Technology | Adjustment | -7 | 473.88 | -3317.16 | 73 | Count correction |
| IM900005 | 2024-01-01 | Atlanta | P0010 | 5-Shelf Bookcase | Furniture | Receipt | 104 | 76.53 | 7959.12 | 289 | |
| IM900006 | 2024-01-01 | Reno | P0014 | Wall Clock | Furniture | Shipment | -38 | 21.44 | -814.72 | 86 | |
| IM900007 | 2024-01-01 | Columbus | P0030 | Gel Pens 12-Pack | Office Supplies | Shipment | -10 | 4.39 | -43.9 | 270 | |
| IM900008 | 2024-01-01 | Dallas | P0026 | Plastic Storage Bin | Office Supplies | Shipment | -45 | 26.61 | -1197.45 | 166 | |
| IM900009 | 2024-01-01 | Atlanta | P0042 | Desk Phone | Technology | Shipment | -26 | 347.77 | -9042.02 | 201 | |
| IM900010 | 2024-01-01 | Reno | P0022 | 3-Ring Binder 2 inch | Office Supplies | Receipt | 241 | 4.11 | 990.51 | 442 |
Movements by type
movements, 1,000-row file
Show as a table
| movement_type | value |
|---|---|
| Shipment | 560 |
| Receipt | 258 |
| Adjustment | 122 |
| Customer return | 60 |
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| movement_id | text | Movement number |
| movement_date | date | Date of the movement (2024) |
| warehouse | text | Atlanta, Columbus, Dallas or Reno |
| sku | text | Product number |
| product_name | text | Generic product name |
| category | text | Product category |
| movement_type | text | Receipt, Shipment, Customer return or Adjustment |
| quantity_change | integer | Units added (+) or removed (-) |
| unit_cost | decimal | Cost per unit (USD) |
| value_change | decimal | quantity_change x unit_cost (USD) |
| balance_after | integer | Units on hand in that warehouse for that SKU after this movement (running balance, never below 0) |
| adjustment_reason | text | Reason, only for adjustments |
Practice questions
answers checked in SQL and in Python
Number of movements by type?
Shipment 560; Receipt 258; Adjustment 122; Customer return 60
Excel
=COUNTIF(G:G,"Receipt")SQL
SELECT movement_type, COUNT(*) AS n FROM inventory_movements GROUP BY movement_type ORDER BY n DESC, movement_typeFile: inventory-movements-1000
Net units added or removed per warehouse (sum of quantity_change)?
Reno +6,879; Atlanta +6,360; Dallas +6,177; Columbus +4,340
Excel
=SUMIFS(H:H,C:C,"Reno")SQL
SELECT warehouse, SUM(quantity_change) AS q FROM inventory_movements GROUP BY warehouse ORDER BY q DESC, warehouseFile: inventory-movements-1000
Total value of shipments (as a positive number)?
$995,854.91
Excel
=-SUMIFS(J:J,G:G,"Shipment")SQL
SELECT ROUND(-SUM(value_change),2) FROM inventory_movements WHERE movement_type = 'Shipment'File: inventory-movements-1000