Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I'm working in a new report and dataset with several sources. One of that is an existing PBI dataset (I'm the owner of it).
Creating a relation with 2 tables:
- Geography (source in new dataset)
- ZD (source in existing dataset)
pop up the following error message: In colum "country" in table "Geography" thare's a duplicated value. It's not possible for column used as primary key.
In Geography table I added in power Query the Index column but still not work....
Any ideas?
Hi @Mgg ,
How did you set the cardinality? If the cardinality be set as One to many (1:*), and the column in One table should have only one instance of a particular value. Otherwise, you will get the above error message. And If a data refresh operation attempts to load duplicate values into a "one" side column, the entire data refresh will fail... You can refer the following links to create and manage the relationships for the tables in your model...
Model relationships in Power BI Desktop
Create and manage relationships in Power BI Desktop
Best Regards
@Mgg , where is the join, if the join is on the country column (1-M) then it will keep on giving error.
Better to delete duplicate country if that is join column
The join is in the country column and I caanot remove the duplicate name.
What I could do is change the join from 1-M to M-M... is it possible?
User | Count |
---|---|
73 | |
70 | |
38 | |
24 | |
23 |
User | Count |
---|---|
96 | |
93 | |
50 | |
41 | |
40 |