I have a fact table called Loans. In this table in a loan identifier, the date the loan was made, and the amount of the loan.
The business requirement I don't quite know how to do in the datawarehouse is the following. The loan amount can be adjusted in the future. So lets say August 1st we make a loan with an id of 1 and a amount of 20,000. October 1st this loan is adjusted to 19,000. Do I put two entries in the fact table with the same identifier, and different dates and amounts?
Do I create a new table (dimension table) with loan amount and date in it? What is the best way to do this scenario?
In the production database we have a table for total loan amount, and then a table off of that for loanAmounts so a combination of loanAmounts equals totalLoanAmount.