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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
ValeriaBreve
Post Patron
Post Patron

concatenate string aggregating dimension

Hello!

I have a table in PowerBI looking like below:

 

DateTimeDetails 
5/22/20248:00 AMThis is the 8 am text
5/22/202410:00 AMThis is the 10 am text
5/22/202412:00 PMThis is the 12 pm text
5/23/20248:00 AMThis is the 8 am text
5/23/202412:00 AMThis is the 12 am text

 

I need to aggregate the text by day, in a concatenation, like so:

DateDetails
5/22/2024This is the 8 am textThis is the 10 am textThis is the 12 pm text
5/23/2024This is the 8 am textThis is the 12 am text

 

I can't think of a good way of doing this... could you please put me in the right direction?

Thanks!

Kind regards

Valeria

 

1 ACCEPTED SOLUTION
Arul
Super User
Super User

@ValeriaBreve ,

try this measure,

 

Details Measure = CONCATENATEX('Table','Table'[Details])

Arul_0-1716379522875.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

2 REPLIES 2
Arul
Super User
Super User

@ValeriaBreve ,

try this measure,

 

Details Measure = CONCATENATEX('Table','Table'[Details])

Arul_0-1716379522875.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


@Arul thank you! That was so simple... I actually had a measure to start with, so I really did not think abput concatenatex. I have changed now to having a calculated column for the table and a measure for the concatenation and it works beautifully. Out of curiosity - is there a simple way to do it as well if instead of the calculated column I would still use a measure for "Details"? Thanks!

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors