Make the model · 3
A second process on the same model
The answer to “we have more than one process” and to “is this a warehouse?” A second report brings a second star. What the two share, the same customers, the same items, the same calendar, is built once, and their numbers can then be read side by side without one being added to the other.
Adding the second star
- Someone describes a second process, on the same drawing. A thing they name that the model already has is the same box, and its page says which stars it serves.
- The model view shows what the stars share. The stars run across, each dimension two or more of them use is a band beneath, and what only one star has is listed under it. Every note on it comes from something a sentence declared.
- One load builds every star the words drew. It is a full load each time: what the words no longer ask for is taken away.
- A shared dimension is written once. Both facts point at the same rows of it, which is what makes the two joinable, and one calendar spans them all, so a month is the same month for every star. How each table was made is kept from every load and drawn as a picture.
- The stars are saved as one graph. Both facts stand in one list of fields, which is what lets a number from each be asked for together.
Reading the two side by side
- An analyst puts a number from each process on the same row. Sales and inventory by product, say.
- Each fact answers alone. One join across both would pair every sale of a product with every stock count of it and inflate both. So each fact is grouped by what the two have in common, the keys they saw are combined, and each answer is joined back to that list.
- A cell with nothing behind it says so. A product that was stocked and never sold shows no sales figure, not a zero, because zero is a measurement.