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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JBell1979
New Member

update issues

Team, I'm trying to udate my PBI for the new year but I'm getting this message.

"Column 'Month' in Table 'MSL YTD' contains a duplicate value 'January' 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 am just adding the data from this year to the data from last. 13 rows of data total

 

Thanks for all the help

 

~J

1 ACCEPTED SOLUTION
AnkitKukreja
Super User
Super User

Hi @JBell1979 

 

Try to understand the error, most of the time solution is within: "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.

This means you have got a relationship on the Month column from the Date table to another table. Which would have duplicates like the Month of January in this case. You should have the relationship with the  Date column instead to avoid such problems in future because the date would be unique in the date table always.

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

View solution in original post

1 REPLY 1
AnkitKukreja
Super User
Super User

Hi @JBell1979 

 

Try to understand the error, most of the time solution is within: "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.

This means you have got a relationship on the Month column from the Date table to another table. Which would have duplicates like the Month of January in this case. You should have the relationship with the  Date column instead to avoid such problems in future because the date would be unique in the date table always.

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.