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

Win a FREE 3 Day Ticket to FabCon Vienna. Apply now

Reply
CloudMonkey
Post Prodigy
Post Prodigy

Error when linking source tables

Hi,

 

I'm trying to link two tables based on a location number. In the first table (sales) there are duplicate location numbers, and in the second table (locations) the location numbers are unique. However when I try to link the 2 tables I get the following error message:

 

Capture.PNG

 

Please can you help?

 

Thanks,

 

CM

1 ACCEPTED SOLUTION

Hi - it's fixed. The left hand table's field was a number stored as text and the right hand table's field was a number stored as a number. So (in excel) I converted the right hand side table's field to number stored as text and the link now works. But I think the error message I got was incorrect as there were no duplicates (I checked using countif in excel).

View solution in original post

4 REPLIES 4
dkay84_PowerBI
Microsoft Employee
Microsoft Employee

How do you know the second table location numbers are unique?  This error message would indicate otherwise...

Hi - it's fixed. The left hand table's field was a number stored as text and the right hand table's field was a number stored as a number. So (in excel) I converted the right hand side table's field to number stored as text and the link now works. But I think the error message I got was incorrect as there were no duplicates (I checked using countif in excel).

You can also change data types from within the query editor so that the source data can change without breaking your PBI solution

Hi @CloudMonkey,

 

Great to hear the problem got resolved! Could you accept your helpful reply as solution to help others who may also have the similar issue easily find the answer and close this thread?Smiley Happy

 

Regards

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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