Reply
lallac
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

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.

Syndicated - Outbound

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.

Syndicated - Outbound

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...

Syndicated - Outbound

Here's the link to the folder: Sample folder 

Syndicated - Outbound

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

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)