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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

Concat more than 3 columns returns the Delimiter

Hi All,

I have used the below DAX to concat the columns. But the problem is with the Delimiter where there is no string in the columns it returns the Delimiter. which I don't want to see. Is there any way to get rid of this?

 

RanjanThammaiah_1-1673487360324.png

 

RanjanThammaiah_0-1673487342502.png

Thanks,

Ranjan

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@RanjanThammaiah UNION your columns together and FILTER for non BLANK values and then use CONCATENATEX.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks @Greg_Deckler , The data size is very huge. if I union the columns. does it impact the Numbers?

 

@RanjanThammaiah I wouldn't think it would excessively impact the creation of the column. Would certainly be faster I would think rather than individually checking if each column is BLANK for example. And sorry, use a table constructor, not UNION, see below.

Column = 
    CONCATENATEX(
        FILTER(
            { [7. Keyword Tag -1], [7. Keyword Tag -2], [7. Keyword Tag -3], [7. Keyword Tag -4], [7. Keyword Tag -5]},
            [Value] <> BLANK()
        ),
        [Value],
        ","
    )

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors