Slowly changing dimensions address attribute history, not transactional events. Model transactions in a fact table; when designed correctly, the Salesforce scenario you described would work with daily snapshots because the fact table would capture all transactions for the day. The model might lack perfect point-in-time attribution for each transaction, but when attribution is that critical and can change per transaction, it belongs in the fact itself rather than in a dimension.
I am not advocating snapshots as a universal solution. Snapshots perform poorly when analysts need to understand how attribution evolves over time, because those queries are inherently expensive. However, many organizations only care about end-of-day attribution. In that case, a daily snapshot meets the requirement precisely and avoids SCD logic altogether. As you noted, SCD implementations are difficult to get right, particularly when upstream systems deliver late-arriving data.
While traditional SCD 2 implementation addresses attribute history, in some needed situations, I've seen it well implemented to address fact table changes that would otherwise be discarded. Think of it as 'off-label use'. We have to architect for the chaos of the source, not the purity of the model.
‘When designed correctly’ implies that SFDC objects and their customizations were indeed designed the way you are thinking that should have been... but reality tells us that most companies have SFDC analysts playing the role of admin, analyst, and engineer for SFDC. As such not all of the normal concessions are taken when designing new custom objects and fields. In those cases SCD 2 utilizing CDC and CDF play a huge role in identifying changes that have occurred.
I don't disagree that snapshots have their place, and I advocate for a hybrid approach in the article, but to outright say SCD 2 is dangerous and shouldn't be used is a fallacy of its own.
And as far as specific use cases… I’ve been brought in several times to create data models that specifically look to capture unethical behavior, which as described, is missed by daily snapshots, but captured by CDC/SCD2.
Watch the full video here: https://youtu.be/fJFqoambT54
Slowly changing dimensions address attribute history, not transactional events. Model transactions in a fact table; when designed correctly, the Salesforce scenario you described would work with daily snapshots because the fact table would capture all transactions for the day. The model might lack perfect point-in-time attribution for each transaction, but when attribution is that critical and can change per transaction, it belongs in the fact itself rather than in a dimension.
I am not advocating snapshots as a universal solution. Snapshots perform poorly when analysts need to understand how attribution evolves over time, because those queries are inherently expensive. However, many organizations only care about end-of-day attribution. In that case, a daily snapshot meets the requirement precisely and avoids SCD logic altogether. As you noted, SCD implementations are difficult to get right, particularly when upstream systems deliver late-arriving data.
While traditional SCD 2 implementation addresses attribute history, in some needed situations, I've seen it well implemented to address fact table changes that would otherwise be discarded. Think of it as 'off-label use'. We have to architect for the chaos of the source, not the purity of the model.
‘When designed correctly’ implies that SFDC objects and their customizations were indeed designed the way you are thinking that should have been... but reality tells us that most companies have SFDC analysts playing the role of admin, analyst, and engineer for SFDC. As such not all of the normal concessions are taken when designing new custom objects and fields. In those cases SCD 2 utilizing CDC and CDF play a huge role in identifying changes that have occurred.
I don't disagree that snapshots have their place, and I advocate for a hybrid approach in the article, but to outright say SCD 2 is dangerous and shouldn't be used is a fallacy of its own.
And as far as specific use cases… I’ve been brought in several times to create data models that specifically look to capture unethical behavior, which as described, is missed by daily snapshots, but captured by CDC/SCD2.