SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Dup error in dimension attribute in SSAS (not key of table)


Dup error in dimension attribute in SSAS (not key of table)

Author
Message
juanvg1972
juanvg1972
SSC-Enthusiastic
SSC-Enthusiastic (114 reputation)SSC-Enthusiastic (114 reputation)SSC-Enthusiastic (114 reputation)SSC-Enthusiastic (114 reputation)SSC-Enthusiastic (114 reputation)SSC-Enthusiastic (114 reputation)SSC-Enthusiastic (114 reputation)SSC-Enthusiastic (114 reputation)

Group: General Forum Members
Points: 114 Visits: 34
Hi,
I have a dim in a SSAS cube like this:
id_customer name city .....................1 Peter H. Paris .................2 Jhon C. Paris ....................3 Michale G. London ..................4 George J. London ...................

When I generate the cube I have this error:
Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'TABLE_NAME', Column: 'city'

A dup error in column city. My key in the dim is id_customer
I can go to city dim properties and change 'keycolumn' property to 'id_customer' and 'namecolumn' to 'city'Then the cube process well without errors, but in the browser I can't see different values for city, because I havedifferent values for id_customer and the the city is repeated. I don't like this solution , I want to obtain sums of metrics by city
How can I fix this problem?
Why do I have an error if field city is not key of the table or dim?
Any advice will be greatly appreciated.
Thanks in advance
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search