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
jrfa225
Frequent Visitor

Refresh Data and Relationship Error (Duplicates)

OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E.

Load was cancelled by an error in loading a previous table.

OLE DB or ODBC error: Object reference not set to an instance of an object..

Column 'Week #' in Table 'Gourley_Lynch' contains a duplicate value '35' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table.

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @jrfa225 ,

 

v-lionel-msft_0-1604999619465.png

First delete the table relationship, then refresh the data, and finally recreate the table relationship.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@jrfa225 , Check if there any duplicate value coming on the one side of the table in 1-M realtion.

Also refer

https://stackoverflow.com/questions/43748120/get-not-allowed-for-columns-on-the-one-side-of-a-many-t...

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.