Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello Everyone !
I am trying to create a relationship between my tables in power query. I have three tables. The first table has name and address field.
And The Second Table has Name, Address, Income Amount and Date on which the income was received.
The Third Table contains Name, Address, Expense and the date on which the expense happened.
Now I'm trying to create Relationships between these table so that i can create a report where it show the name of user and the income he/she has received and how much he has spent as expense. However, since the income and expense table contains duplicate values of Name and Address, i am unable to create a relationship between Income and Expense table. I am able to create Relationships between Table 1( with name and address) and income table and also between Table 1 and Expense Table but i have not been able to create Relationship between income and expense table to achieve my desired result. Is there any way forward to this ?
Solved! Go to Solution.
Hi, @FancyOgre
you can create relationship like this, less workaround. (might be error-prone)
sample value
power bi actually auto created the relation. i tried to visualize
it is giving the correct value.
if you do not want to do this way then you might consider creating a composite key in both table. then create a relationship using that key. and best practice? create a date table and add a relationship with the date column.
Proud to be a Super User!
Hi, @FancyOgre
you can create relationship like this, less workaround. (might be error-prone)
sample value
power bi actually auto created the relation. i tried to visualize
it is giving the correct value.
if you do not want to do this way then you might consider creating a composite key in both table. then create a relationship using that key. and best practice? create a date table and add a relationship with the date column.
Proud to be a Super User!
@FancyOgre you dont need a relationship between income and expense table. Create a relationship of firsttable with income and expense separately also create a date table and create a relationship with income and expense with date table.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.