Forum Discussion
Power query - concatenate text columns
- 8 years ago
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'
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.