Mixed Grain
A proposed fact table for the warehouse, one row per order line:
| column | example value |
|---|---|
| order_line_id | 88213 |
| order_id | 4471 |
| date_key | 20260317 |
| customer_key | 9021 |
| product_key | 553 |
| quantity | 3 |
| line_amount_cents | 4497 |
| order_shipping_cents | 899 |
| customer_lifetime_orders | 42 |
Analysts run SELECT sum(order_shipping_cents) ... GROUP BY month and the totals come out well above what finance reports. What explains it?
Sign in to answer questions and track your progress
Sign In