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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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