Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Mgg
Helper I
Helper I

index issue using existing PBI dataset

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?

 

3 REPLIES 3
Anonymous
Not applicable

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

yingyinr_0-1657700771774.png

Best Regards

amitchandak
Super User
Super User

@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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.