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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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

5 REPLIES 5
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

 

 

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.

JadhavVarsha_13
Resolver II
Resolver II

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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