I have a couple of modelling questions using several star schemas. There are different entities which I consider facts (they all share similar dimensions, dimcustomer, dimdate, dimshop, etc.), for example, orders, payments, inventory, credit cards movements and inventory. All of them have thousands of entries every day and each one has metrics which I would like to report from. If all of these are independent facts though, and thinking about facts shouldn’t be joined between them, a few problems present:
- Actually, payments and orders are related because payments are (sometimes) made for the orders. Both have a different granularity so I think they can’t be together in the same fact table.
- For reporting purposes, I am going to need to join all facts together to get the full revenue. I assume this is not something strange to do, but again I am joining facts together, is that ok?
Below there’s a rough schema of this example. I hope it helps.
Thank you so much in advance.