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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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