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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
lallac
Frequent Visitor

Relationship between three tables

Hello everyone, 

I'm working on creating a visual table that combines information from 3 different tables. 

 

"Table 1" : a monthly database that contains various information. Each contact has a unique ID, but this is repeated multiple times (once for each month).

"Table 2" : a database with specific informatio about a contact that cannot be included in Table 1, to avoid repeating the ID multiple times within the sam month.

"Table 3" : a DB that contains the unique IDs. 

 

I created a relationship between the three tables, as follows:

 

lallac_0-1732803846746.png

 

I attempted to create a visual table that includes information from all three tables: 

  • IDs from Table3
  • Info1 from Table1
  • Info2 from Table2

 

However I get an error saying that PBI can't determine the relationships between the fields.

I have no idea how to solve this. I would appreciate your help!

 

5 REPLIES 5
lbendlin
Super User
Super User

Table 3 is your dimension table. Its ID field needs to be the first field in your visual.  The joins need to be single directional, going only from Table 3 to the other tables.

Hello @lbendlin, thank you for your reply. 

I updated the relationships as you suggested and attempted to create the visual, but the issue persists. I added the IDs from Table3 and then included Info1 from Table1. However, when I add Info2 from Table2, I encounter the same error.

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Here's the link to the folder: Sample folder 

This is the link to the folder that contains both the pbix sample and the excel file: Sample PBI 

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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