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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors