Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Scheduled refresh fails - Column has duplicate value

At some point, my scheduled refresh fails after multiple retry by Power BI service. Eventually the scheduled refresh gets disabled.

 

The source of error is below and I don't know how to troubleshoot the problem. Would anyone be able to help me on the error?

 

Last refresh failed: Sat Oct 12 2019 23:14:23 GMT+0800 (Singapore Standard Time)
There was an error when processing the data in the dataset.
Hide details

Data source error:Column 'Computer' in Table 'MSS03-HW-MegaRaid' contains a duplicate value 'SERBMSS03HYP001.erb.global' 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. Table: MSS03-HW-MegaRaid.
Cluster URI:WABI-WEST-EUROPE-redirect.analysis.windows.net
Activity ID:8c6ae482-9806-4598-868c-2684dcf04ea6
Request ID:f6295387-e11a-4e52-ab23-0820bd1eaea8
Time:2019-10-12 15:14:23Z
  • Hi mss_powerbi,

    This is caused by the relationship and your update data, when you update data, it might will generate duplicated record, but your relationship is many to one, so it will prompt error. You could try to modify relationship to many to many to see whether it work or not.

    Best Regards,
    Zoe Zhi

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

2 Replies

  • dax's avatar
    dax
    Community Support

    Hi mss_powerbi,

    This is caused by the relationship and your update data, when you update data, it might will generate duplicated record, but your relationship is many to one, so it will prompt error. You could try to modify relationship to many to many to see whether it work or not.

    Best Regards,
    Zoe Zhi

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    I noticed that the last post was in 2019.  So, here we are in 2024, and I'm getting this error message: 

    Column 'ID' in Table 'Append- Labs, Manufacturing, and Warehouses' contains a duplicate value '45' 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.

     

    I followed all the suggestions of changing the cardinality, 

     

    The information that is created is through MS Forms.  The information that PowerBi is getting it from the Excel Sheet made for Forms in SharePoint.  The Appended Table was created in PowerBi.  

     

    I'm not sure what to do next.

     

    I'm not very quick to catch on, if there are pictures that I can "copy" to fix my problem, that would be great.

     

    Thank You.