My transactional database allows customers to be merged if the customer has multiple accounts for the same household. Any order that the customer had in any of the accounts gets updated with the Customer Id that the accounts are being merged into. So the question is, how to handle the customer rows in the dimension that are no longer valid? At this point they will have nothing in the fact table so to me they are useless. I am thinking that I should delete them out of the dimension. My concern with keeping them in there is when we do some type of count, I could end up counting the same customer twice unless I put in some type of clause like “where customer is not merged”. I would hate to have to have that clause in every query that I build. Has anybody else come across this and how do you handle this. Thanks,
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.