I have 2 data sets like these.
Data set 1
Product, Seg, ID, Loc_cd,
A1, SER, 200, 1
A2, OFF, 100, 1
A2, OFF, 100, 2
A2, OFF, 300, 1
A1, OFF, 101, 1
A1, OFF, 102, 2
A2, OFF, 101, 2
Dataset Price
Product, Seg, Price
A1, SER, 20
A1, OFF, 30
A2, SER, 40
A2, OFF, 50
What I need to do is to add another column in Dataset 1 named "Price".
Which basically look Product and Sgments. When I do Left Join, It is taking cartician product including Loc_cd.The uniqueness of data in dataset 1 is Columns Product,Seg and Loc_cd.Is there any way I can solve this?
Thanks
... View more