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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
stkarthik
New Member

Relationships

Hi  Iam trying to create relation between two table with Company Name as the Primary Key , even though my Company table has unqie records Power Bi through up an error saying You can't create a relationship between these two columns because one of the columns must have unique values"

 

can someone pls point out my mistake ,  here are table i am having an issue with

https://1drv.ms/x/s!AoFOemM4aW7PtccTFex-8sA1WnEujA

 

 

1 ACCEPTED SOLUTION

Look the duplicate record in companies table 

1.JPG

 

 

 

 

View solution in original post

6 REPLIES 6
Baskar
Resident Rockstar
Resident Rockstar

Check is there aby blank value in Comapny Name column . 

 

if yes that is the problem. if not am sure u have duplicate in your comapny name column 100 %

@BaskarI have created a Pviot Table to count the occernace of a vaule and there are only unquie values in my loookup table , with no blank spaces , You can look at the attached link , I am not able figure out where iam going wrong

1.JPG

 

 

Look this machi , u have dupilcate in country 

But I am just looking up the company Name , Is it required that every cloumn in my lookup table shoud be unquie ?

Look the duplicate record in companies table 

1.JPG

 

 

 

 

Thanks Baskar ! Now i look every silly Smiley Embarassed I spent an hour going throught it and i missied !

Appricate your help 🙂

 

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.