Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
Solved! Go to Solution.
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'
Proud to be a Super User!
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.
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'
Proud to be a Super User!
thanks for your fast reply....with two text columns it worked now 🙂
=Text.Combine({[FCURR],[TCURR]}," " )