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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
tebtim19
Helper IV
Helper IV

Combine column

Anyone could help me with combining column in different tables? 

I have the following

Table A

   Email Address

   Age

   Address

   Code

  

  

 

Table B

   Full Name

   First Name

    Last Name

 

I need to create a column 

Where I will get the full name from table B to table A,

and relate the email address and full name

so I will get the same data in my New Full Name

 

 

output:

tebtim19_0-1615893287905.png

 

 

 

 

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

Hi, @tebtim19 

According to your description and sample picture, I guess that you want to get a column that can combine the value of email address and full name from two tables, I think you can achieve this using merge query in the Power Query and DAX to combine them, you can try my steps:

I’ve created some data and give the two tables [Code] as the relative column.

  1. Go to the Power query, merge query like this:

v-robertq-msft_0-1616037020486.png

 

v-robertq-msft_1-1616037020490.png

 

Then expand the table and select [Full name] column.

  1. And apply the change and create a new column in the table A like this:
Name&Email =

COMBINEVALUES(": ",[Table B.Full Name],[Email Address])

 

And you can get what you want, like this:

v-robertq-msft_2-1616037020493.png

 

You can download my test pbix file here

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

 

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, @tebtim19 

According to your description and sample picture, I guess that you want to get a column that can combine the value of email address and full name from two tables, I think you can achieve this using merge query in the Power Query and DAX to combine them, you can try my steps:

I’ve created some data and give the two tables [Code] as the relative column.

  1. Go to the Power query, merge query like this:

v-robertq-msft_0-1616037020486.png

 

v-robertq-msft_1-1616037020490.png

 

Then expand the table and select [Full name] column.

  1. And apply the change and create a new column in the table A like this:
Name&Email =

COMBINEVALUES(": ",[Table B.Full Name],[Email Address])

 

And you can get what you want, like this:

v-robertq-msft_2-1616037020493.png

 

You can download my test pbix file here

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

 

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

@tebtim19 ,refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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