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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors