Forum Discussion

palpeti21's avatar
palpeti21
Frequent Visitor
4 years ago
Solved

Lookup table that changes over time

Can you please help me how do I design my model so I can make the below work:   I have sales data in the fact table and I have customer data in the lookup table. The customer data contains customer...
  • Shahfaisal's avatar
    Shahfaisal
    4 years ago

    palpeti21 wrote:

    Thanks, this is very helpful. I will probably need to use Type 2 - Row Versioning. My next issue then is with this method I will no longer be able to use the customer ID, I'll need to use the Surrogate Key to connect to my fact table. I don't have a match for these in the fact table though...


    You are right. You will need a surrogate key and your fact table ETL (extract, transform, load) process also needs to be modified to populate the right surrogate key in the fact table.

     

    If your question has been answered, please mark the post as answered.