CDMP Fundamentals • 100 Questions • 90 Minutes
← Back to Case Studies

LogiFreight's Data Warehouse Dimensional Design

Data Modelling and Design Hard

💼 Scenario

LogiFreight is a logistics company handling 500,000 shipments daily across a network of 120 distribution centers in North America. The company is building its first enterprise data warehouse to enable analytics on shipping performance, route optimization, and customer profitability. The current reporting relies on direct queries against transactional databases, causing performance degradation during business hours. The data modeling team must design a dimensional model that supports analysis across multiple business processes: order fulfillment, shipment tracking, delivery performance, and customer billing. Key analytical questions include average delivery time by route and carrier, cost per shipment by weight class and distance, customer profitability by segment, and seasonal demand patterns. Complicating factors include that shipment status changes multiple times (picked up, in transit, at hub, out for delivery, delivered, exception), dimensions like customer and route change slowly over time, and the company is acquiring a European logistics firm that will need to be integrated within 18 months. The design must handle both current operations and the upcoming international expansion.

Question 1: What is the appropriate grain for the primary fact table in LogiFreight's shipment performance model?

Question 2: Which Slowly Changing Dimension (SCD) type should LogiFreight use for the customer dimension to support customer profitability analysis over time?

Question 3: How should LogiFreight design the dimensional model to accommodate the upcoming European acquisition?