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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Resident Rockstar
Resident Rockstar

@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

3 REPLIES 3
Rickmaurinus
Helper V
Helper V

The trick when concatenating values is to make sure they are of the Text sort. 

 

So either:

- Make sure the entire column is text

- Use a function that transforms the value to text during the evaluation. 

 

I think anyone struggling with this may enjoy this article: 

 

https://gorilla.bi/power-query/concatenate-values/

 

Also take into account that referencing null values may result in different values.

 

--------------------------------------------------

 

@ me in replies or I'll lose your thread

 

Master Power Query M? -> https://powerquery.how

Read in-depth articles? -> BI Gorilla

Youtube Channel: BI Gorilla

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly.

ChrisMendoza
Resident Rockstar
Resident Rockstar

@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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors