Forum Discussion
Calculated column error for duplicate value but no reference
- 4 years ago
Hi DreDre
From my understanding, the error is saying that there is duplicate value in the Table[Column] you're referring to and that particular column is being used as the relationship to another Table2[Column2]. And because you are using Table[Column] as the relationship (the "one" in the one to many), Power BI is pulling an error.
Although it's not best practice, can you go to your Data Model and switch the relationship from One to Many to Many to Many and see what happens?
Theo 🙂
- 4 years ago
This issuse was actually a problem with my data. The relationship needed to be many to many, but I was missing the secondary relationship that also needed to be adjsuted. Once I changed both relationships this fixed my issue! Thank-you for those that answered, I appreciate the help!
Hi DreDre
From my understanding, the error is saying that there is duplicate value in the Table[Column] you're referring to and that particular column is being used as the relationship to another Table2[Column2]. And because you are using Table[Column] as the relationship (the "one" in the one to many), Power BI is pulling an error.
Although it's not best practice, can you go to your Data Model and switch the relationship from One to Many to Many to Many and see what happens?
Theo 🙂