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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Markzolotoy
Impactful Individual
Impactful Individual

DAX - combine first name and last name

I have a table with first names and last names I want to create a calculated table with a full name column. can that be done in one shot without creating two tables first?

 

Thanks

3 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Markzolotoy , Try like. I have not tested this 

New Table =

addcolumns(summarize(Table, [First Name], [Last Name]), "Full Name" , [First Name] & " " & [Last Name])

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

View solution in original post

Jihwan_Kim
Super User
Super User

Hi, @Markzolotoy 

Please check the below.

 

Picture1.png

 

new table =
SUMMARIZE (
ADDCOLUMNS (
'Table',
"full name",
'Table'[firstname] & " " & 'Table'[lastname]
),
[full name]
)

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

Anonymous
Not applicable

HI @Markzolotoy,

You can try to use the following formula if it was suitable for your requirement.

NewTable =
SELECTCOLUMNS (
    ALL ( Table[First Name], Table[Last Name] ),
    "Full",
        [First Name] & " " & [Last Name]
)

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

HI @Markzolotoy,

You can try to use the following formula if it was suitable for your requirement.

NewTable =
SELECTCOLUMNS (
    ALL ( Table[First Name], Table[Last Name] ),
    "Full",
        [First Name] & " " & [Last Name]
)

Regards,

Xiaoxin Sheng

Jihwan_Kim
Super User
Super User

Hi, @Markzolotoy 

Please check the below.

 

Picture1.png

 

new table =
SUMMARIZE (
ADDCOLUMNS (
'Table',
"full name",
'Table'[firstname] & " " & 'Table'[lastname]
),
[full name]
)

 

Hi, My name is Jihwan Kim.

 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
amitchandak
Super User
Super User

@Markzolotoy , Try like. I have not tested this 

New Table =

addcolumns(summarize(Table, [First Name], [Last Name]), "Full Name" , [First Name] & " " & [Last Name])

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.