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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Concatenating Rows

1.PNG I'm trying to get the Payroll Subservices field to be on one row for each company. So for each company, instead of having multiple rows I would like to have:

 

3385   Payroll-Full;Checks-Full;NewHire-Mini

0002   Payroll-Full;Checks-Full

0008   Payroll-Full;NewHire-Full;Checks-Full

etc.

etc.

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

In Query Editor, do a 'group by' on co, select All Rows.

Add a Custom Column using the syntax       = [Combined][Payroll Subservices]  where 'Combined' is the new column name from the 'group by' step.

You can then expand the new column (extract values) and you will be offered options to select a delimiter. Choose ';'

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

In Query Editor, do a 'group by' on co, select All Rows.

Add a Custom Column using the syntax       = [Combined][Payroll Subservices]  where 'Combined' is the new column name from the 'group by' step.

You can then expand the new column (extract values) and you will be offered options to select a delimiter. Choose ';'

Anonymous
Not applicable

@HotChilli perfect. Thank you so much!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.