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 Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

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

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Solution Authors