Take care of entries from Cleansing Error tables
Applies to
Platform: Microsoft SQL Server
Architecture: Dimensional
During the load of a Dimensional project, you may encounter entries in the CLS_XXX_Error tables. These tables log all warnings and errors produced by the cleansing actions. Review the entries regularly, because they may indicate potential issues in the design of your Entity or Fact model objects.
This article is valid for a project with a Generator Configuration version 1.9 or lower. For higher versions, see Take care of entries from the Data Quality rules log.
Cleansing error tables
Each model object in the Core layer with a target table has its own corresponding error table:

Example
Entries in an error table, shortened to the key columns and the error count:
CustomerID FK_Customer_Store_BusinessEntityID BG_ErrorCount 11005 -10 0 11008 -10 0 11009 -10 0 11011 -10 0 11012 -10 0 11015 -10 0 11016 -10 0 11017 -10 0
All eight rows carry the same BG_ErrorDescription:
Missing foreign key value for relation to "Customer_Store" set to "Unknown"
Entry types
An entry in this table can be of these types:
- Nulled non-nullable business key: the term defined as business key is set to Not Null but contains a NULL value. Action: define a business key that always has a value, so it can never be NULL.
- Duplicated business keys: the term defined as business key has a value that already exists. Action: define a business key that is unique for all records.
- Missing foreign key value: the foreign key value does not exist in the referenced Entity and is NULL. Action: update the referenced Entity so that all values used in related Entities or Facts exist.
For alternative methods to handle missing foreign key values and reduce the number of logged errors, see Reduce the volume of the Cleansing Error tables.
Related articles
- See also: Reduce the volume of the Cleansing Error tables, Take care of entries from the Data Quality rules log