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
Anonymous
Not applicable

Relationship ambiguity

Picture2.pngDear all,

 

After searching arround and not finding a clear solution, then I decided to ask here.

 

I have two data tables with cost and cost forecast and then I would like to create a relationship with both tables to the look up table GL accounts. However, I am getting the Relationship ambiguity error as pictures attached. What am I doing wrong?

 
 

Best regards,

 

Beto

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

Hi @Anonymous ,

 

Would you please check your data model if your relationship map contains multiple active relationships to analytic summarize, it will confused which one should be the right one. So it only allow one activated major relationship link between linked tables for analytics and interactions.

 

As a workaround, I suggest you use LOOKUPVALUE function to get data from GL accounts table.

 

For more details, please refer to https://radacad.com/what-is-the-direction-of-relationship-in-power-bi

 

Best Regards,

Dedmon Dai

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thank you all!

 

I had a bi-directional relationship and that was the issue. It got fixed as soon as I changed it to "single". 

v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Would you please check your data model if your relationship map contains multiple active relationships to analytic summarize, it will confused which one should be the right one. So it only allow one activated major relationship link between linked tables for analytics and interactions.

 

As a workaround, I suggest you use LOOKUPVALUE function to get data from GL accounts table.

 

For more details, please refer to https://radacad.com/what-is-the-direction-of-relationship-in-power-bi

 

Best Regards,

Dedmon Dai

amitchandak
Super User
Super User

@Anonymous , If there two paths getting created then you will get this type of error

 

That can because of bi-directional relation you some wrong join 

 

Like A-> B -> C

A->C

There are two paths to C

A<-> B

A<-> C

Now if try have more  D with both B and C you will get this error

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.