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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
kangu
Regular Visitor

Merger text in tabel

Hello

I have data tabel in Power BI

kangu_0-1658047840803.png

 

I need to merger (sum) text to have this:

kangu_1-1658047876445.png

I can do it to number, but I can't to text. Please help

I need this in tabel visualisation on PowerBI desktop

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

With DAX:

As a calculated Column (my Table is called 'FTable')

VALUE =
CONCATENATEX (
    FILTER (
        ALL ( FTable ),
        FTable[ID] = EARLIER ( FTable[ID] )
            && FTable[Type] = EARLIER ( FTable[Type] )
    ),
    FTable[Orig Value],
    ", "
)

Calc Col.png

 

As a measure:

VALUE1 =
VAR _id =
    MAX ( FTable[ID] )
VAR _type =
    MAX ( FTable[Type] )
RETURN
    CONCATENATEX (
        FILTER ( ALL ( FTable ), FTable[ID] = _id && FTable[Type] = _type ),
        FTable[Orig Value],
        ", "
    )

measure.png

 

I've attached the sample PBIX file

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

7 REPLIES 7
PaulDBrown
Community Champion
Community Champion

With DAX:

As a calculated Column (my Table is called 'FTable')

VALUE =
CONCATENATEX (
    FILTER (
        ALL ( FTable ),
        FTable[ID] = EARLIER ( FTable[ID] )
            && FTable[Type] = EARLIER ( FTable[Type] )
    ),
    FTable[Orig Value],
    ", "
)

Calc Col.png

 

As a measure:

VALUE1 =
VAR _id =
    MAX ( FTable[ID] )
VAR _type =
    MAX ( FTable[Type] )
RETURN
    CONCATENATEX (
        FILTER ( ALL ( FTable ), FTable[ID] = _id && FTable[Type] = _type ),
        FTable[Orig Value],
        ", "
    )

measure.png

 

I've attached the sample PBIX file

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Thanks, it's working ! 🙂

tamerj1
Super User
Super User

Hi @kangu 

Create a new measure 

CONCATENATEX ( 

TableName,

TableName[VALUE],

", ", 

)

Hello, @tamerj1 

I try and it's not working

kangu_0-1658059481614.png

 

@kangu 

Sorry my mistake 

CONCATENATEX ( 

TableName,

TableName[VALUE],

", "

)

kangu
Regular Visitor

Thanks for Your reply.

I try it but not working or I do some wrong.

Can You give more inforation how I can do it?

deevaker
Resolver I
Resolver I

Hi,

I think this should be easy when you do it in power query. 
First pivot and then concat the column should solve this.

 

Regards

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.