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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
GilesWalker
Skilled Sharer
Skilled Sharer

Concatenate rows values

Hi everyone,

 

I have a table in a databse which has job numbers, template nuber, and comments. I have managed to do a bunch or merges, pivots, and joins to get the table to look like this:

 

Smart.PNG

 

You will notice the bulk of the JobNo is the same, this is becasue whenever a new comment is added it creates a duplicate row. What I want to do is join all the comments in to one sell if the JobNo is the same. Can this be done in Query Editor or am I better off using DAX?

 

Thanks,

 

Giles

1 ACCEPTED SOLUTION
Baskar
Resident Rockstar
Resident Rockstar

Hey Gileswalker,

 

 I suggest u go with DAX.

 

DAX Query :

 

Concate = CONCATENATEX(Tablename,Comments,"Delimeter whatever u want")

 

check it and let me know, i will help u if not work....

View solution in original post

2 REPLIES 2
Sean
Community Champion
Community Champion

@GilesWalker Check out this post...

http://community.powerbi.com/t5/Desktop/Help-with-a-table-visualization/m-p/24298#M7829

@ImkeF as you know is the M Expert and she had a great solution there

Hopefully you can make it work in your case!

Baskar
Resident Rockstar
Resident Rockstar

Hey Gileswalker,

 

 I suggest u go with DAX.

 

DAX Query :

 

Concate = CONCATENATEX(Tablename,Comments,"Delimeter whatever u want")

 

check it and let me know, i will help u if not work....

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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