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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Dunner2020
Post Prodigy
Post Prodigy

Cant determine relationship between two or more fields

I got a data model which looks as follow:

 

Dunner2020_0-1661379362432.png

 

I am trying to show columns from different tables in a table visual. Table visual works fine when I use column from contact and AssetContact_Address tables. However, it throw error 'cant determine relationship between two or more fields' when I tried to put a column from the ContactRelationship table. I checked and there is no missing value in any table. I also changed the cross filter option from Single to both but did not work. Any help would be really appreciated.

Sample here.

 

 

8 REPLIES 8
HoangHugo
Solution Specialist
Solution Specialist

can you share some images, or sample for your case?

@HoangHugo , sample file is attached in the thread (question). I am also attaching the gif of the issue.

 

Animation1.gif

Hi,

I try your file, it is not working, but when I reorder the columns in table, it displayed. I also change your ID to type text. I think maybe this is error from app.

Capture 11.PNG

@HoangHugo , can I have your sample file please?

Link please check

@HoangHugo thanks for the file. It's so wired that it worked fine on your side but not on mine. I also changed contactId type to text but did not make any difference

HoangHugo
Solution Specialist
Solution Specialist

Hi

I think AssetContact_Address and ContactRelationship should be ralted to same one column of Contact, to display right relationship between tables.

@HoangHugo , they are related to the same one column of Contact table (i.e. ContactId)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.