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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Join tables

Hello

I would like to join table 1 and table2 who has common project name, and would like to have value3 repeated.

I know the question has been already asked but couldnt find it. Apologies for the duplicate.

 

powerbi.png

1 ACCEPTED SOLUTION
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

According to your picture, I think you want to merge table1 and table2 and repeat value 3, you can achieve this in Power query editor, you can try my steps:

  1. Go to Power query editor, select table1, click merge query as new:

v-robertq-msft_0-1607322433405.png

 

  1. Set the merge query like this:

屏幕截图 2020-12-07 142744.png

  1. Expand the table, then change the column name and table name

v-robertq-msft_2-1607322433416.png

 

And you can get what you want, like this:

屏幕截图 2020-12-07 142758.png

You can download my test pbix file here

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

According to your picture, I think you want to merge table1 and table2 and repeat value 3, you can achieve this in Power query editor, you can try my steps:

  1. Go to Power query editor, select table1, click merge query as new:

v-robertq-msft_0-1607322433405.png

 

  1. Set the merge query like this:

屏幕截图 2020-12-07 142744.png

  1. Expand the table, then change the column name and table name

v-robertq-msft_2-1607322433416.png

 

And you can get what you want, like this:

屏幕截图 2020-12-07 142758.png

You can download my test pbix file here

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous ,You can use Merge in power https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

if they are already connected , you can use summarize

 

summarize(Table2, Table2[project name], Table2[value1], Table2[value2], Table1[value3])

 

or refer this blog how to use various dax join

https://www.sqlbi.com/articles/from-sql-to-dax-joining-tables/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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