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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
nchamilton162
Frequent Visitor

Can't determine relationships between the fields

Good morning, 

I am struggling with this error message. I have a simple three table model. I have all three tables connected via a field called projectid. A project from the project table can have 4 phase records connected by projectid. A Project can have multiple users assigned by projectid. When I attempt to pull a project and project phase into my table visual it works fine. As soon as I add a user to my table I get the dreaded "Can't determine relationships between the fields. See details. Can someone please help. I've read several articles and attmempted to modify data types, I've verified through SQL that there is in fact a relationship between all 3 tables and it works fine in sql. I'm fairly new to Power BI so I assume I'm missing something, I just can't figure out what I'm doing wrong. I have attempted all variations of cross filtering.

 

nchamilton162_0-1730293828229.png

 

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @nchamilton162 

The issue is how the filtering occurs.

Project filters Phase down to the matching project,

Project can also filter User down.

 

This means you could display Project, Phase and an aggregate of User.

However the User table has no information about which Phase each belongs to so it will count all of them.

Effectively you have two different granularities Phase and User. PBI doesn't know how to match them up.

 

How do you match them up in SQL? A cross join?

What output are you looking to achieve?

SamWiseOwl_0-1730298191391.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

4 REPLIES 4
nchamilton162
Frequent Visitor

I don't necessarily want a measure. What you're saying makes sense regarding it not being able to determine which phase the user belongs to.

If you don't care about have the users on a seperate row you could do this:
Users In Project =
ConcatenateX( UserTable, [User Column],", ")

That will show them in a nice comma seperated list next to the phase.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

SamWiseOwl
Super User
Super User

Hi @nchamilton162 

The issue is how the filtering occurs.

Project filters Phase down to the matching project,

Project can also filter User down.

 

This means you could display Project, Phase and an aggregate of User.

However the User table has no information about which Phase each belongs to so it will count all of them.

Effectively you have two different granularities Phase and User. PBI doesn't know how to match them up.

 

How do you match them up in SQL? A cross join?

What output are you looking to achieve?

SamWiseOwl_0-1730298191391.png

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

johnt75
Super User
Super User

When you add the user to table visual is there already a measure in the visual ? This error can sometimes happen when there is no measure.

If there is a measure, can you post the definition of it ?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors