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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
debiagui
Resolver I
Resolver I

Issue with There are ambiguous paths between tables

My model hs the following tables

* Products, were the primary key is ProductId

* Customers,, were the primary key is Id

* Sales, were the primary key is Fecha, ProductId, CustomerId

* SellOut, were the primary key is Fecha, ProductId, CustomerId

* Targets, were the primary key is Fecha, ProductId, CustomerId

* Calendar, were the primary key is Fecha

When I try to add a new relation between Calendar and SellOut fails with this error

Relation_Error.PNGRelations.PNG

 

7 REPLIES 7
Alexpeles
Microsoft Employee
Microsoft Employee

@debiagui  there might be a potential mistake in the model, specifically in the relationship between Sales and Calendar table. I think it should be Calendar (1) ---> Sales (many), right now it looks like it's the opposite - Calendar (many) ----> Sales (one). I am right?
If it's the case, then please try fixing it and see if you still have the same error.

anshulmarele
Regular Visitor

Did you find its solution?

Alexpeles
Microsoft Employee
Microsoft Employee

@debiagui  there might be a mistake in your model, specifically between Sales and Calendar, I think it should be 1(Calendar) to many(Sales). 

I had the same issue which you described, and then I double-checked all my relationships, and found out a similar mistake, and it fixed the error for me, maybe it will help you as well.

debiagui
Resolver I
Resolver I

Yes, it's strange. I'll try to simplify the fact tables into a single one by merging Sell-Out and Sales. As you said, this seems like a Lakehouse error.

debiagui
Resolver I
Resolver I

But why it fails? I've a Datamart with the exact same model and works, now in a Lakehouse fails and the data was copied from the Datamart 

@debiagui I don't know why as the relationship directions look fine to me. Maybe some bug in Lakehouse and Direct Lake? Wouldn't be surprised honestly.



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

@debiagui Go ahead and add it as an inactive relationship. Then you can use USERELATIONSHIP in a measure if you need it. That said, I'm not seeing the pathways that it is seeing between the tables given the direction of the relationships.



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors