Skip to main content
DD-TRF-003 Complex Joins, Exceptions and Transformation Logic Get the data →
DD-TRF-003-Q046 Very Hard

Customers collapsed by alias mapping

Count distinct CustomerCode after trim and upper-case, then map alias codes to canonical codes through MapCustomerAlias and count again. How many codes collapsed?
Expected
Two counts and the difference · KPI card
Tables
FactTransformationEvents, MapCustomerAlias · columns
  • FactTransformationEvents
  • MapCustomerAlias
  • CustomerCode
  • AliasCode

Discussion

No one has posted here yet. Ask something, compare your result, or share how you solved it.

A free account takes a minute. Your draft is kept while you sign in.