Article ID: 2002757 - View products that this article applies to.
In SQL Server Analysis Service 2008, dimension processing and you may receive an error message that resembles the following:
Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'TABLE_NAME', Column: 'ATTRIBUTE_COLUMN_NAME, Value: 'ATTRIBUTE_VALUE'. The attribute is 'ATTRIBUTENAME'.
The behavior is by design. SQL Server 2008 Analysis services will detect the duplicate attribute key during processing.
The above error can also be triggered when the relational database is case-sensitive and the data values are in mixed-case. In Analysis services, when creating a dimension and its attribute(s), the default collation for the attribute is case-insensitive. The dimension by-default has ErrorConfiguration|KeyDuplicate set to be "ReportAndStop". So if you have a case-sensitive relational database that for example contains data values ‘BOOKNAME” and “Bookname”, during dimension processing, if the data BOOKNAME first was processed as attribute key, the subsequent processing will fail with the following error
"A duplicate attribute key has been found when processing: Table: 'TABLE_NAME', Column: 'ATTRIBUTE_COLUMN_NAME, Value: 'Bookname'. The attribute is 'ATTRIBUTENAME'."
When designing dimensions, dimension attributes and attribute relationships, you should check the relational data values for duplicates and if they do exist, use one of the following procedures to address the issue:
Option 1: Edit the named query in Data Source View to select only the data with the desired case.
For example, you can use UPPER or LOWER case function in the named query.
Option 2: You can workaround the problem using either of the following options:
Note: These options are not usually recommended as they may result in unexpected data, but can be used for troubleshooting purpose.
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.