cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MK_Aqipa
Frequent Visitor

Power query - concatenate text columns

Hi,

I need to combine two text columns. I've tried it in the custom column with the & Formuala, but I get an error. 

= Table.AddColumn(#"Geänderter Typ", "Text.Combine", each [FCURR]&[Period])

 

Anyone has an idea how i can solve it?

 

thanks in advance,

regards

1 ACCEPTED SOLUTION
ChrisMendoza
Super User
Super User

@MK_Aqipa,

 

is [FCURR] and [Period] of type Text? What is the error you get?

 

Also, where is your function Text.Combine( )? It looks like you've just joined with '&' which should give you something like:

 

[Column1]&[Column2]

outputs 'helloworld'
Text.Combine({[Column1],[Column2]}," " )

outputs 'hello world'

 






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



View solution in original post

2 REPLIES 2
ChrisMendoza
Super User
Super User

@MK_Aqipa,

 

is [FCURR] and [Period] of type Text? What is the error you get?

 

Also, where is your function Text.Combine( )? It looks like you've just joined with '&' which should give you something like:

 

[Column1]&[Column2]

outputs 'helloworld'
Text.Combine({[Column1],[Column2]}," " )

outputs 'hello world'

 






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



thanks for your fast reply....with two text columns it worked now 🙂

 

=Text.Combine({[FCURR],[TCURR]}," " )

 

 

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Dev Camp Session 26

Check it Out!

Mark your calendars and join us on Thursday, September 29 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors