-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
The Data Warehouse Toolkit - Third Edition
By :
The natural granularity for an order transaction fact table is one row for each line item on an order. The dimensions associated with the orders business process are order date, requested ship date, product, customer, sales rep, and deal. The facts include the order quantity and extended order line gross, discount, and net (equal to the gross amount less discount) dollar amounts. The resulting schema would look similar to Figure 6-2.
Figure 6-2: Order transaction fact table.
Rather than storing the list of facts in Figure 6-2, some designers want to further normalize the fact table so there’s a single, generic fact amount along with a dimension that identifies the type of measurement. In this scenario, the fact table granularity is one row per measurement per order line, instead of the more natural one row per order line event. The measurement type dimension would indicate whether the fact is the gross order amount, order discount amount...
Change the font size
Change margin width
Change background colour