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
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
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.