how to fetch data from multiple fact tables from a normalized schema?
751873Nov 1 2010 — edited Nov 3 2010Hello everybody,
I am working on a normalized schema to build my repository. I have categorized the tables into dimensions and facts. I have 3 fact tables in my schema and they have a 1:m:1 relationship i.e. if I have table A, B, and C; A has 1:m relationship with B and C also has 1:m relationship with B. How can I use measures from these tables to create a star schema. If A = Sales, B = Transaction, C = Payment_Amount
Sales(Sales ID, Amount, Tax pct, ...)
Transaction(Transaction ID, Sales ID, Payment ID,Transaction Amt, ...)
Payment_Amount(Payment ID, Check ID, Payment Made, ...)
Please give me some direction to pursue.
Thank you!
D