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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

how to concatenate two columns from two different tables

how to concatenate two columns from two different tables

2 ACCEPTED SOLUTIONS
JorgePinho
Solution Sage
Solution Sage

Are the tables conectable by any column (for example an ID)?

View solution in original post

v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

You can create a calculated column by using LOOKUPVALE() function to get the column from other table if the two table has the related field.

LOOKUPVALUE(the column you want , GroupID column from Table1 ,GroupID column from Table2)

 

Best Regards,

Aniya Zhang

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

6 REPLIES 6
v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

You can create a calculated column by using LOOKUPVALE() function to get the column from other table if the two table has the related field.

LOOKUPVALUE(the column you want , GroupID column from Table1 ,GroupID column from Table2)

 

Best Regards,

Aniya Zhang

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

 

 

Thanks, it helped me a lot!

JorgePinho
Solution Sage
Solution Sage

Are the tables conectable by any column (for example an ID)?

Anonymous
Not applicable

it's having Group Customer ID column

 

In the Power Query Editor you can use Merge Queries to bring the column you need to the table, conecting them trough that ID. Then you select the two columns you want to merge and use Merge Columns.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors