SQL Data Cube


I'm getting the following error when I try and process my SQL data cube:

Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'dbo_DIM_GEO', Column: 'CITY', Value: 'COLUMBUS'. The attribute is 'CITY'.

How do I correct the issue?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Máté FarkasDatabase Developer and AdministratorCommented:
Attribute keys and values must be unique within a Dimension.
Please show us design of your Dimension in SSAS and the result of the following query:

Open in new window

Mark WillsTopic AdvisorCommented:
This is part of the reason why I dont get involved in SSAS, it can be a headache....

Especially this particular error....

Basically you have duplicate values of 'COLUMBUS' but it could be coming from different parents, it could be upper / lower case, it could be a range of things.

Now the reason why I am answering is I have just been reviewing some documentation for a client and came across these two entries :
https://blog.tallan.com/2017/01/10/part-1-analysis-services-multidimensional-a-duplicate-attribute-key-has-been-found-when-processing/ and the one that applies to you is https://blog.tallan.com/2017/03/21/part-2-analysis-services-multidimensional-a-duplicate-attribute-key-has-been-found-when-processing/

Found them to be very good / detailed explanations with "how to find" and fix the error. Well worth reading.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.