Forum Discussion

AliShahab88's avatar
AliShahab88
Helper I
4 years ago
Solved

Dupilcation error

 

  • Data source errorColumn '<pii>department_id</pii>' in Table '<pii>cmkpebook1 board_meetings</pii>' contains a duplicate value '<pii>69</pii>' 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.

Hi All,

 

Need your kind help on how can I remove the above error in a published report.

 

Thanks 

Engr. S

4 Replies

  • HotChilli's avatar
    HotChilli
    Community Champion

    Looks like either a design problem or a data problem (I can't say which, you will have to investigate).  The design says there is a 1-many relationship or a primary key defined.  That was probably working fine at first.  Then a data refresh occurs that violates the design by having 2 records with the same primary key.  So, either the design is wrong or some data has been wrongly entered into the system.

  • Thanks HotChilli, but I want to change in publish data source I mean to change the relationship and data type etc.