This one is similar to my previous post about stores.
I am trying to figure out how to handle stores and retailers in an MDDB. The issue is that a store with store number by itself if pretty meaningless without a retailer.
For example, you can have a store number that is the same as from one retailer to another. For example, Sears can have a store 100 and so can Costco.
I have a retailer dimension and a store dimension. The problem is that I can’t take facts about a store and add it to my fact table without figuring out which store I am dealing with. So if I sell a product in store 100 in OLTP and want to move that to my fact table, the problem is which of the 10 stores that have a store 100 do I use? The store numbers are unique within stores.
Even though I have a Retailer dimension, would it be reasonable to also add the Retailer name to the Store dimension? Would I just add the key from the Retailer dimension (which is how I would do it in a normalized database) or just put Sears or Costco in a string in the Store dimension.
Thanks,
Tom
I am trying to figure out how to handle stores and retailers in an MDDB. The issue is that a store with store number by itself if pretty meaningless without a retailer.
For example, you can have a store number that is the same as from one retailer to another. For example, Sears can have a store 100 and so can Costco.
I have a retailer dimension and a store dimension. The problem is that I can’t take facts about a store and add it to my fact table without figuring out which store I am dealing with. So if I sell a product in store 100 in OLTP and want to move that to my fact table, the problem is which of the 10 stores that have a store 100 do I use? The store numbers are unique within stores.
Even though I have a Retailer dimension, would it be reasonable to also add the Retailer name to the Store dimension? Would I just add the key from the Retailer dimension (which is how I would do it in a normalized database) or just put Sears or Costco in a string in the Store dimension.
Thanks,
Tom