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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
rgouette
Frequent Visitor

trying to simply concat two columns... killing me

I am trying to concatenante two columns in a table, with an underscore between them, without using merge(because I wish to retain the original two columns as well)

I've tried the CONCATENANTE  command, AND "addColumn" to no avail, like below.

 

"Full Name MYNEWCOLUMNNAME= CONCATENATE(dbo_MYTABLENAME[MYFIELD#1]
&"_",dbo_MYTABLENAME[MYFIELD#2])"

 

and 

 

= Table.AddColumn(dbo_MYTABLENAME, "MYNEWCOLUMNNAME", each Table.AddColumn(dbo_dbo_MYTABLENAME,
"MYFIELD#1", each [JAXLAWSONREQUISITIONNO]+"_"+[MYFIELD#2]))

 

 

Thoughts?

Thanks much,

Richj

 

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Insert a custom column from Add Column menu and paste the below in the box

 

[#"MYFIELD#1"] & "_" & [#"MYFIELD#2"]

 

View solution in original post

1 REPLY 1
Vijay_A_Verma
Super User
Super User

Insert a custom column from Add Column menu and paste the below in the box

 

[#"MYFIELD#1"] & "_" & [#"MYFIELD#2"]

 

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.