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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
shaherbano
Microsoft Employee
Microsoft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.