Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Concatenating same records

Hi Everybody,

I have a view that contains records like below,

BondApplicationNo               CustomerName

216953766                               MAEPA, SEBOLELA DORAH

216953766 MAEPA, TEBOGO REGINALD

216972167                               ROACH, WAYNE

I want to concatenate the CustomerName whenever the BondApplicationNo is the same and return 1 record like below,

BondApplicationNo               CustomerName

216953766                               MAEPA, SEBOLELA DORAH  l  MAEPA, TEBOGO REGINALD

216972167                               ROACH, WAYNE

The BondApplicationNo can have more that 2 CustomerName associated with it ( incase of a joint Bond of 3 or more people).

Please help. Thanks

1 Reply
Sokkorn
Master
Master

Hi,

Concat() function should do this job. Let try with two options below:

1. Create straight table with

     a. Dimension: BondApplicationNo

     b. Expression: Concat(CustomerName,' | ')

2. Or use in load script

     Load

          BondApplicationNo,

          Concat(CustomerName,' | ')     AS [CustomerName]

     From TableName Group By BondApplicationNo;

Regards,

Sokkorn