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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dinesharivalaga
Post Patron
Post Patron

How to make relationship between two tables which don't have common columns ?

Hi Experts,

 

How to make relationship between two tables which doesn't have common columns ?

 

Table 1 : 

Has only 6 columns

Table 2 :

Has more than 20 columns

 

Please suggest some ideas to make this real ..

 

Thanks 

DK

2 ACCEPTED SOLUTIONS
WanderingBI
Resolver III
Resolver III

This is not possible in any meaningful way.

 

The purpose of a relationsship is to reference row values in one table to row values in another table.

 

Think of this example:

 

Sales Table

Customer NumberProductSales Quantity
52Apple3
46Banana2
46Apple3

 

Customer Table

Customer NumberName
52Dave
46Melinda

 

Here you can create a n (sales table) : 1 (customer table) relationsship between the [Customer Number] columns of the two tables.

Then for each sales you could look up the name of the customer by following the relationsship.

 

If you do not have common columns (they do not need to have the same name - just a meaningful relationsship between the column values) then you cannot form a relationsship.

 

A non-meaningful way would be to give both columns an additional index column (with number 1 ... n). Then you can establish a relationsship (like match 1 and 1, 2 and 2), it just will not be helpful.

View solution in original post

Idrissshatila
Super User
Super User

Hello @dinesharivalaga ,

 

if there's no matching column in both then there's no relationship between both of them.

 

there's no meaning between both tables.

 

in general to make a relationship between two facts, you need to make a star schema data model

check it out https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @dinesharivalaga ,

Could you give an example of how you want to pass filters between two tables? That would be very useful. Thanks.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Idrissshatila
Super User
Super User

Hello @dinesharivalaga ,

 

if there's no matching column in both then there's no relationship between both of them.

 

there's no meaning between both tables.

 

in general to make a relationship between two facts, you need to make a star schema data model

check it out https://learn.microsoft.com/en-us/power-bi/guidance/star-schema

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




WanderingBI
Resolver III
Resolver III

This is not possible in any meaningful way.

 

The purpose of a relationsship is to reference row values in one table to row values in another table.

 

Think of this example:

 

Sales Table

Customer NumberProductSales Quantity
52Apple3
46Banana2
46Apple3

 

Customer Table

Customer NumberName
52Dave
46Melinda

 

Here you can create a n (sales table) : 1 (customer table) relationsship between the [Customer Number] columns of the two tables.

Then for each sales you could look up the name of the customer by following the relationsship.

 

If you do not have common columns (they do not need to have the same name - just a meaningful relationsship between the column values) then you cannot form a relationsship.

 

A non-meaningful way would be to give both columns an additional index column (with number 1 ... n). Then you can establish a relationsship (like match 1 and 1, 2 and 2), it just will not be helpful.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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