Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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]}," " )
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.