Hi all,
I'm creating a SQL 2008 Datawarehouse for an OLAP Cube (SSAS 2008). The data is coming from a single source - a transaction log which shows item, quantity, value, customer id, name and address etc. There is one line per each item bought. This is the only way we can get the data.
What I'm trying to build is the customer dimension. I need to keep the customer history - specifically their address so we can see where people were living at the time of the sale. They could buy something one day and be living in London, and buy something a year later and be a resident of Manchester (for example).
Can anyone offer any tips, hints or experience on the best way of going about this. We will recieve the last 14 days of sales per day, so I need to also deal with this.
I can see that I'll need to use a type II SCD, but it's the mechanics of buiulding the table and creating the history which I'm unsure of.
Many thanks in advance,
Matt