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
shaherbano
Employee
Employee

Cardinality Error

Hi, i am not able to connect the 3 tables i have.  gettign the following error: 

failed to save modifications to the server. Error returned: 'Relationship 'd1259967-03f1a-b4a5-f83344f5d47'..." between columns ' MAS[Part_Num]' and 'Table B[Cl_Part]' has the TO end cardinality set to Many. To end cardinality must always be set to One.

Part_Num column has Ids like below: 

M393A2K43BB1-CRC
750-40017-01
AGIGA9831-001JCB
HMN82GR7AFR4N-UH
6 REPLIES 6
JoshSimpson
Frequent Visitor

Hello,

 

I had the same error,

 

I solved it by removing any 'null' items in your unique list.

 

Hope it helps,

 

Josh

kartikwat
New Member

Hi,

I faced the same issue.

 

I did import data from Excel workbook and found that there was fault in my excel workbook itself.

Try correcting relationships at the source, it did solve my issue.

 

Error at the source usually happens when you extract data to excel directly from custom application(ERP/etc).

 

Cheers,

Kartik =

Stachu
Community Champion
Community Champion

it seems you try to set up Many to Many relationship, Power BI supports One to Many & One to One relationships



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

@Stachu,

 

But doesn't Power BI give an explicit message when you try to do that? This must be something else. 

Stachu
Community Champion
Community Champion

well it did give the error - could it be that the in desktop version it's 1 to many, while in the service dataset is bigger and it becomes many to many?



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

My bridge table has primary unique key which is connecting to corresponding keys in 2 seperate tables. there are certain rows on both tables with distinct values (in one but not on other). My goal is to compare the fields of one table to those on the other. 

then create a result column that calls out; which cell values are not a match.

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.