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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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