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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
JemB123
Frequent Visitor

Relationship issue with 3 tables

Hi i Have three tables in my powerbi report and want to form a relationship between them but it wont let me. 

 

Table_OEMFCST --> OEM Name to have a relationship with Table_OEMList --> OEM Name 

Table_OEMFCST --> Revenue  to have a relationship with OEMSkuList --> SAP S4 Material No.

OEMSkuList --> OEM Name to have a relationship with  Table_OEMList --> OEM Name 

 

the green works however the red doesnt work and says there is ambigutory between paths 'Table_OEMFCST' and 'Table_OEMList' ; Table_OEMFCST -> Table_OEMList and TableOEMFCST -> OEMSkuList -> Table_OEMList. 

3 REPLIES 3
JemB123
Frequent Visitor

Hi Dengliang, 

 

thank you for your response, i dont want to delete or make anything inactive as i need these relationships, is there a way of getting around it?

JemB123_0-1723765101486.png

as currently the Table_OEMList and Table_OEMFCST helps me with linking my forcast data to a OEM name. 

 

Hi @JemB123,

 

You can create a new table in Power Query as a reference to Table_OEMList.
Any changes in the data source will also be synchronized to this new table.

This new table can also be used as a slicer to filter the data in Table_OEMFCST.

vdengllimsft_0-1723790558200.png

 

vdengllimsft_1-1723790558207.png

 


You can also refer to the following link for more information.
How to manage ambiguous relationship in Power BI – Cloud BI


Best Regards,

Dengliang Li

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-denglli-msft
Community Support
Community Support

Hi @ JemB123,

 

Up to two relationships exist in the three tables, otherwise loops will be created.

 

In my testing, the following two relationships already exist between the three tables.

A one-to-many relationship ( single direction ) exists from Table 1 Date column to Table 3 Date column.

A one-to-many relationship ( single direction ) exists from Table 1 Date column to Table 2 Date column.

vdengllimsft_0-1723703491462.png

 

When I try to create a relationship from Table 3 Date column to Table 2 Date column, I get an error like yours.

There are ambiguous paths between ‘Table2’ and ‘Table1’: ‘Table2’ -> ‘Table1’ and ‘Table2’ ->’Table3’ ->’Table1’

vdengllimsft_1-1723703507974.png

 

According to the Microsoft documentation.
Model relationships in Power BI Desktop - Power BI | Microsoft Learn

You can delete or inactivate a path.

If Power BI detects multiple paths that have the same priority and the same weight, it will return an ambiguous path error. In this case, you must resolve the ambiguity by influencing the relationship weights by using the USERELATIONSHIP function, or by removing or modifying model relationships.

 

Best Regards,

Dengliang Li

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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