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
Bakhtawar
Post Patron
Post Patron

Crdinaltiy error

I have two tables . in these 2 tables i have this column which is linked to another

 

table1                            table2
%ClaimRegister_ClaimsPaid	%ClaimRegister_ClaimsPaid
NET-2008-1/1	                  NET-2008-1/1
NET-2008-1/2	                  NET-2008-1/2
NET-2008-100/2	                  NET-2008-100/2
NET-2008-100/3	                  NET-2008-100/3
NET-2008-101/1	                  NET-2008-101/1

 

 

so i have these 2 columns in 2 tables .. when i create realtionship between those tables bases on this key this shows an error

"this relationship has cardinality many-many. this should only be used if it is expected that nerither column (%ClaimRegister_ClaimsPaid and %ClaimRegister_ClaimsPaid ) contains unique values , and that the signinficalety difffernet behaviour of many - many relationship is understood

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@Bakhtawar ,

 

If both two columns doesn't have unique value, you can only build many-to-many relationship. However, it seems the two columns are same in the sample data you give, if possible, please share the complete sample data and give the expected result you want to achieve.

 

Community Support Team _ Jimmy Tao

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

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Bakhtawar ,

 

If both two columns doesn't have unique value, you can only build many-to-many relationship. However, it seems the two columns are same in the sample data you give, if possible, please share the complete sample data and give the expected result you want to achieve.

 

Community Support Team _ Jimmy Tao

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

Greg_Deckler
Super User
Super User

That is not really an error as many-to-many is supported. It is more of a warning as to whether you really know what you are doing or not. Just means that you have duplicate values in those columns.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.