Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not 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.

 

How could I merge the contents and why some functions are not recognized?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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}})

11.30.1.2.PNG

 

Table 2 =
ADDCOLUMNS (
    VALUES ( 'Table (2)'[Cate] ),
    "Product",
        CALCULATE (
            CONCATENATEX ( VALUES ( 'Table (2)'[Value] ), 'Table (2)'[Value], "/ " )
        )
)

My final output looks like this:

11.30.1.1.PNG

Here is the pbix file.

 

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

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

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

Anonymous
Not applicable

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}})

11.30.1.2.PNG

 

Table 2 =
ADDCOLUMNS (
    VALUES ( 'Table (2)'[Cate] ),
    "Product",
        CALCULATE (
            CONCATENATEX ( VALUES ( 'Table (2)'[Value] ), 'Table (2)'[Value], "/ " )
        )
)

My final output looks like this:

11.30.1.1.PNG

Here is the pbix file.

 

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
Super User
Super User

@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I did it with Merge Columns in Toolbar.

amitchandak
Super User
Super 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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.