Powerpivot cannot detect relationships

Powerpivoteer

New Member
Joined
Aug 5, 2012
Messages
7
Dear users, I have 2 sets of data.
Dataset01 = sales data from company
Dataset02 = 2 column set (customer = text & channel = text)
Dataset01 contains column = Customer (text) but with repeated values (since it is sales data)
I want to bring the Channel information from dataset02 to dataset01 beside every value of customer appearing.
BUT the powerpivot keeps saying "the columns you have chosen for the relationship contain duplicate values...... choose at least 1 column that does not contain duplicate values!".

I can' understand why.
Thank you all.
Kind Regards
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
If you have 2 tables one of which has unique customer id or text value (DataSet02), this shouldn't happen as long as you choose the customer field from your unique table and not the one with dupes and join on the Customer field. If you are getting the error when making the relationship, there is something wrong with the data. Make a pivot of just Set 2 to see if you can spot it or try to remove dupes in regular worksheet.
Then if it looks like that won't supply unique data, make your own unique customer table from another data source from the company and join this other sets to that set and use it's field in the pivot.
 
Last edited:
Upvote 0
Dear pete234 thank you for the answer - I will check the set02, but for making the relationship > Do I need a 3rd table (join) or do I do it directly with those 2 sets? I have forgotten to ask that I apologize. Thank you.
 
Upvote 0
Yes if you can't get set02 to be unique, make a 3rd table between these 2 and make a relationship on the unique value in this new table. Use the middle table for that value, don't pull it from the other tables. For instance, I think you want customer name to be unique. So when you make the pivot, use the Customer Name from the middle-table after you join them. Then drop your channel field in.
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,871
Members
449,055
Latest member
excelhelp12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top