Forum Discussion
Anonymous
5 years agoNot applicable
CONCATENATE DAX function not recognized in Custom Column Window
I'm trying to merge the contents of two columns (text) in Transform Data Table with a new Custom Column but Custom Column window doesn't recognize CONCATENATE function and the formula produces error....
- Anonymous5 years ago
Hi Anonymous ,
Microsoft Power BI supports two different languages, M language(in Power Query) and DAX .
CONCATENATE() function is used for DAX not for M.
So if you could use the following to get the same effect:
#"Grouped Rows" = Table.Group( #"Changed Type" , {"Cate"}, {{"Custom", each Text.Combine([Value], "/"), type text}})Table 2 = ADDCOLUMNS ( VALUES ( 'Table (2)'[Cate] ), "Product", CALCULATE ( CONCATENATEX ( VALUES ( 'Table (2)'[Value] ), 'Table (2)'[Value], "/ " ) ) )My final output looks like this:
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.Best Regards,
Eyelyn Qin
amitchandak
5 years agoSuper User
Anonymous , Are you trying in power Query M. There you can Text.Combine , it need a list -https://docs.microsoft.com/en-us/powerquery-m/text-combine
Or try Like
New column = [col1] &" " &[col2]
In Dax you have concatenate
https://docs.microsoft.com/en-us/dax/concatenate-function-dax