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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors