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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Ray_Brosius
Helper III
Helper III

Building a Table Visual - error "Can't determine relationships between the fields"

I have what I feel like is a stupid question.  I've been using Power BI for several years and it seems like I run into this problem and can't figure it out.. or at least remember.

I have these three simple tables shown below.  The main table is Deals and the dealid is key that relates this one table to the two tables shown below.. 

 

When I try to create a table visual with a column from all three of these tables I get the error " can't determine relationship between the fields"  If I pull a column from Deals and Key Deal Status.. no problems.. as soon as I add a column from the COmpanies to Deals.. I get the error.. 

Ray_Brosius_0-1624047647357.png

Ray_Brosius_1-1624047787691.png

 

 

1 ACCEPTED SOLUTION
Ray_Brosius
Helper III
Helper III

I think I understand the nature of the problem....

The Deals can have more than one Company.. and the Deals can have more than one Status.

When trying to put these together  liek below

Deal, Company(s), Status(es)

 

Power BI does not know how to list these in one Table.. in that for every Deal -> company relationship does it go and get every Deal-Status combination.. the Status and Company while related to a single Deal ... there is no relationship between the Company and Status...  showing that in a single table does not make logical sense...

 

 

View solution in original post

4 REPLIES 4
Ray_Brosius
Helper III
Helper III

I think I understand the nature of the problem....

The Deals can have more than one Company.. and the Deals can have more than one Status.

When trying to put these together  liek below

Deal, Company(s), Status(es)

 

Power BI does not know how to list these in one Table.. in that for every Deal -> company relationship does it go and get every Deal-Status combination.. the Status and Company while related to a single Deal ... there is no relationship between the Company and Status...  showing that in a single table does not make logical sense...

 

 

Hi @Ray_Brosius 

 

Yes, I think you understand it correctly. If you want to have a meaningful pair of company and status values for each Deal, it would be better to record this in the fact table when each Deal happens or changes.

 

Regards,
Community Support Team _ Jing

Ashish_Mathur
Super User
Super User

Hi,

In a normal data model, the columns that you want to run calculations on are usually the fact tables (Many side of the relationship) but in yours the Deals table is the dimension table (one side of the relationship).


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
HashamNiaz
Solution Sage
Solution Sage

Hi @Ray_Brosius !

 

You might need to change one of your relation direction to be bi-directional; You can possibly change Companies to Deal relationship to be bi-directional this will allow the rows to be filtered through.

 

If this doesn;t work you can make both relationships bi-directional to test it out.

 

Regards,

Hasham

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.