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
Dali748
Helper II
Helper II

Duplicate value 0 and this is not allowed on the one side of a many-to-one relationship error?

Please see error I'm receiving below, for some reason I keep on receiving this error when I try to refresh my data.  I talked to our DB SQL administrator and he says that the table doesn't have this restriction and believes it's a PowerBI issue.

 

Does anyone know what can be causing this issue and how to fix it?

 

wo_id-error.PNG

1 ACCEPTED SOLUTION

Hi @Dali748 ,

Please refer to the document below about creating many to many relationship in power bi.

https://docs.microsoft.com/en-us/power-bi/desktop-many-to-many-relationships

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
AnkitBI
Solution Sage
Solution Sage

Relationship column on one side of relationship cannot have duplicate values. Either remove duplicates from Column or create Many to Many relationships.

 

Thanks
Ankit Jain

Do Mark it as solution if the response resolved your problem. Do like the response if it seems good and helpful.

@AnkitBI Thank you for the reply! 

 

How do I change it to many-to-many relationship?

 

Thank you!

Hi @Dali748 ,

Have you solved the problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please feel free to ask.

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Dali748 ,

Please refer to the document below about creating many to many relationship in power bi.

https://docs.microsoft.com/en-us/power-bi/desktop-many-to-many-relationships

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Using Relationship Tab.

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.