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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to Concatonate several columns.

Hello,

 

I want to create a new colomn that concatonates three colomns into one key.  eg. I want Month, name and vrg to be in a field beside this that says JAN5 GUYS CSD 500ml PET.  What is the simpletst way to do that?

 

MonthsNAMEVRGMonths Order
JAN5 GUYSCSD 500ml PETM01 JAN
JAN5 GUYSDAS  591mlM01 JAN
JAN5 GUYSNT 500mlM01 JAN
JAN5 GUYSPostmix Jc BIB 10LM01 JAN
JAN5 GUYSPostmix Jc BIB 20LM01 JAN
JAN5 GUYSPostmix Spk BIB 10LM01 JAN
JAN5 GUYSPostmix Spk BIB 20LM01 JAN
2 ACCEPTED SOLUTIONS
AllisonKennedy
Super User
Super User

I would recommend using Power Query to do this. Select each column in order you want them concatenated, then click Merge columns on the Add Column tab in Power Query Editor.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

The best way for this, is using Power Query (select columns -> tab Add Column -> Merge OR select columns, right click on then and "merge").

 

Also, if you want to do this on a calculated column (less performance), create a new column using DAX expression CONCATENATE. 

 
Your Column = CONCATENATE('Table'[Column 1], 'Table'[Column 2]...)
 
Remember: Power Query is the recomended away to do this. 🙂

View solution in original post

2 REPLIES 2

The best way for this, is using Power Query (select columns -> tab Add Column -> Merge OR select columns, right click on then and "merge").

 

Also, if you want to do this on a calculated column (less performance), create a new column using DAX expression CONCATENATE. 

 
Your Column = CONCATENATE('Table'[Column 1], 'Table'[Column 2]...)
 
Remember: Power Query is the recomended away to do this. 🙂
AllisonKennedy
Super User
Super User

I would recommend using Power Query to do this. Select each column in order you want them concatenated, then click Merge columns on the Add Column tab in Power Query Editor.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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.