Data Store Management
A Redshift model repeats each order's shipping charge on every order-line row. Reports need shipping totals by order date and sales totals by product. Which design preserves both measures' natural grain?
Show the answer
Correct answerB. Create an order-grain fact for shipping and a line-grain fact for sales.
AWhy not this: Distinct shipping values can collapse equal charges from different orders and undercount the total.
BWhy this is right: Separate facts store each measure at its natural grain without repeating order-level shipping across lines.
CWhy not this: One product identifier per order cannot represent orders containing multiple products.
DWhy not this: Shipping is an order-level measure, not a descriptive property of a product.
Shipping belongs at order grain, while product sales belong at order-line grain; separate facts preserve both. Summing distinct shipping values is unsafe because different orders can have identical shipping charges.