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

Error: Can't determine relationship between fields

Hi

 

I'm working with test data (limited load rows).

With this test date, in a table, I'm getting the error: "Can't determine relationship between fields" when I try to view fields from two tables (Table1 and Table3).

When I work with full data or I change the relationship in relationship between Table2 and Table3 is set to 1-to-1, the table is displayed correctly.

 

Does anybody know why?

Thanks 

 

Fact Table Problema.jpgError.png

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

Hi,

 

According to your description, i create three tables to test:

12.PNG13.PNG11.PNG

15.PNG

When i use 'product'[OrderDate] to filter 'Salesperson'[Salesperson], it shows the same error with you:

14.PNG

This is because the [OrderDate] doesnot has any relationship with [Salesperson] such as one-to-one or one-to-many.

They can just both filtered by 'Date'[Date].

 

Best Regards,

Giotto Zhi

 

View solution in original post

4 REPLIES 4
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, i create three tables to test:

12.PNG13.PNG11.PNG

15.PNG

When i use 'product'[OrderDate] to filter 'Salesperson'[Salesperson], it shows the same error with you:

14.PNG

This is because the [OrderDate] doesnot has any relationship with [Salesperson] such as one-to-one or one-to-many.

They can just both filtered by 'Date'[Date].

 

Best Regards,

Giotto Zhi

 

Two years later, I have a workaround. You can make the table visual work by putting an aggregation like count from one of the columns onto the table visual. And then hide that ugly column by resizing it. Using the same dataset at Giotto Zhi, I blogged about it here: 

rainer1
Resolver III
Resolver III

hi,

it is because your relation as you tested by your self. It's hard to say exactly without seeing the tabel data.

 

My opinion is not all of your data is linked on the many side to one.

 

Example:

you have 10 rows in table 1 in one column is a id wich you can realate to the next table 2. In table2 you have also 10 row but only two of the rows match with 4 rows in table 1 now you have a one to many relation where 6 fields not linked to another table.

With three tables it will get more complex if you want to filter from table1 to table3

 

PS- It is not recommended to cross filter direction to both as it can have performance impact

 

-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!

 

Hi @Anonymous ,

 

Since there is no direct relationship between Tables 1 and 3, the visual does not know how to combine them.

When table 2 is added to the visual, both tables are filtered and displayed via the common table 2.

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


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.