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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors