Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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.
How could I merge the contents and why some functions are not recognized?
Solved! Go to Solution.
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
Hi @Anonymous ,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.
Best Regards,
Eyelyn Qin
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
I did it with Merge Columns in Toolbar.
@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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
71 | |
55 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
60 | |
50 | |
45 |