Hi am trying to process a Dimension table but I always get the same error :A duplicate attribute key has been found when processing: Table: 'dbo_DimRestaurants', Column: 'RestoCity', Value: 'Richmond'. The attribute is 'City'.
After an health check this is the problem I get :
Attribute relationship [City] -> [Province] is not valid because it resultsin a many-to-many relationship.
RestoCity | RestoProvince | |||
Richmond | Colombie-Britannique | |||
Richmond | Québec | |||
Waterloo | Ontario | |||
Waterloo | Québec | |||
Windsor | Ontario | |||
Windsor | Québec |
How can I get this to work, this is something I do not quite get , yes the same city name can be repeated across different province, this dim have an hierarchy like this : restaurant -> city -> province -> country
This dim also contain ProvinceID and CountryID but I do not use it for mow or should I ?
Am I making a concept mistake here ? if so, I can I make the proper corrections
Thanks