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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors