I just have a general question and I’d appreciate if you can provide your thoughts on this.
I have a fact table called Orders. This information stored not only quantity, sale etc but also order details such as order number, order date, price etc. Is this a good practice? As soon as I looked at this table, I thought that we sholdn’t put non-additive information in a fact table, instead it should be stored in what is called a “Degenarate” dimension. What do you gous advice? Should I separate this information from the fact table or create a view called “Order detail” off of the fact table and use it as a dimension in the Data Warehouse?
You should create an Orders table and Order lines, two fact tables at different granularity.
Order number should appear on both facts. Order date should be used to create a key for the calendar dimension.
Price and line item detail shoud be stored as part of the order line fact.
Keep in mind that price rarely is a fact/measure in the BusinessObjects world/universe. Price * volume = Revenue is a measure.Price typically is a dimension or detail obhjects (from a universe persepctive).