Temporal DimensionsUnderstanding the relationship between age and time will help you build better models for perishable goodsBy Erik Thomsen Continued from Page 1 From a manager or analyst perspective, you need to know such things as how long fish stays in inventory, the average age of fish sent to production, how much fish is in danger of being thrown away, and, assuming the existence of multiple inventory sites, those instances where fish was thrown away from one site while in another site had a shortage of that same fish. For all these types of analytic queries, it is best to treat age as a separate temporal dimension as shown in the schema:
So how would you modify the formula for
As you've probably noticed, the new definitions as stated have several problems. First, in the
age-containing schema, But if Additions to fish, for ages greater than one, occur through the aging process itself. This
implies that
Furthermore, you need to be aware of two separate starting cases: the first day, which happens once for the whole schema, and the first day of age, which happens for every fish as it is received.
Table 3 illustrates a restatement of fish received and fish sent that associates an age with the fish. Can you say why fish is received at age zero instead of age one, which was defined as the minimum
age of fish? The reason is because I'm tracking I used the rule FIFO. This way, when production asks for some amount of fish, inventory uses up the oldest fish first. Think about how you would express the formula for updating the inventory schema based on requests for fish from production. As you learned in this installment, solving analytic business problems frequently requires using schemas whose variables are recursively defined across two interdependent time-based dimensions. In addition to enabling you to build models for things that age, understanding the relationship between age and time is critical to connecting schemas across the entire enterprise value chain where different events, such as materials shipping, materials inventory, production, product distribution, and so on, are temporally (and spatially), linked. Erik Thomsen [erik@dimsys.com] is cofounder of Power Thinking Tools, which developed the first OLAP engine with integrated statistics, visualization, text processing, and object management. He is a researcher and consultant for Dimensional Systems and focuses on integrated multitechnology analytic solutions. He is the author of OLAP Solutions (John Wiley & Sons, 1997) and coauthor of Microsoft OLAP Solutions (John Wiley & Sons, 1999). RESOURCESThomsen, Erik. OLAP Solutions, John Wiley & Sons Inc., 2002 Related Article at IntelligentEnterprise.com: "Marketing Calculation," February 21, 2002: www.intelligententerprise.com/020221/504analytic1_1.jhtml
|
Most Popular This Week
IE Weekly Newsletter
Subscribe to the newsletter
|
| |||||||||||||||||||||||||||||||






FISH. 















