Reply
Member
Posts: 326
Registered: ‎12-04-2017
Accepted Solution

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.


Accepted Solutions
Member
Posts: 116
Registered: ‎09-10-2018

Re: Concatenating Rows

[ Edited ]

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


All Replies
Member
Posts: 116
Registered: ‎09-10-2018

Re: Concatenating Rows

[ Edited ]

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 ';'

Member
Posts: 326
Registered: ‎12-04-2017

Re: Concatenating Rows

@HotChilli perfect. Thank you so much!