Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Tabular - relationship acting like a cross join

$
0
0
I'm a bit perplexed on this.I have what is a 1:1 relationship.The parent table is SalesAssociatesCustomers (many entries per associate with each entry being a single customer that associate has worked with)Child table is Customers.SalesAssociatesCustomers.CustomerCode -> Customers.CustomerCode (CustomerCode is text)I open up Excel and drop the SalesAssociatesCustomers.AssociateID and SalesAssociatesCustomers.CustomerCode on the grid and it shows a proper:AssociateID|CustomerCode1|A0011|A0021|A003etc...just like it should.Then I go to the second table and get Customers.CustomerCode and drop it on there and I get:AssociateID|CustomerCode|CustomerCode1|A001|A0011|A001|A0021|A001|A003...1|A001|C004Basically it is not restricting on CustomerCode and I don't really get why.... I am not even sure how to start troubleshooting this....

Viewing all articles
Browse latest Browse all 1341

Trending Articles