Power Pivot Relations - Many-to-One-Unique but Still Error

ajones

Board Regular
Joined
Oct 26, 2002
Messages
108
I have a series of tables that i was trying to create some relations for. It seems like no matter what I do I get the error "The relationship cannot be created because each column contains duplicate values. Select at least one column that contains unique values."

I am making the relation off calculated columns where in each table i concatenate two columns to one. This forces one of the tables to have all unique values and the other table to match up. However I am still getting the above error. I tried making the relationship "both ways" starting from the "many" and going to the "one" and the other way around. But still get the error.

Then I tried making other relations, but everything seem to give that same error.

Am I missing something?


thanks for any and all suggestions

Alan
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Miguel.escobar,

thanks for the reply.... i just figured it out..... there were 2 duplicates of screwy data in what what was supposed to be unique data... I am going to adjust my concatenation to fix the issue. There were about 5,000 rows so i did pivot on just that data then had copy the data so i could filter on the count.... and found the one that had 2. now thinking of easier ways to find the few lines that may be duplicate in related data.

Now if PowerPivot just had an option to allow for multiple relations, from one table to another table. I have two columns in one table that both relate independently back to another table.
 
Upvote 0
Reading again, I believe that you were talking about 2 columns that are related between 2 tables...the formula USERELATIONSHIP is used when you have a column in a table that can be related to multiple tables but just one of them(relationships) would remain active. Just wanted to clarify that
 
Upvote 0

Forum statistics

Threads
1,223,938
Messages
6,175,528
Members
452,651
Latest member
wordsearch

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