Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Different values in one row

Hi!

I have many clientIDs linked to every sales manager.

I created the simple table below:

  

sales manageremailclientID
Davidd@d.com1
Davidd@d.com2
Davidd@d.com3
Davidd@d.com4
Sauls@s.com5
Sauls@s.com6

I would like to create this table, and put all the clientIDs in the same row, for every sales manager:

  

sales manageremailclientID
Davidd@d.com1,2,3,4
Sauls@s.com5,6

thanks ,

Naama

3 Replies
sunny_talwar

Try this:

Table:

LOAD [sales manager],

          Only(email) as email,

          Concat(clientID, ', ') as clientID

From Source

Group By [sales manager];

sunny_talwar

For your sample:

Table:

LOAD [sales manager],

          Only(email) as email,

          Concat(clientID, ',') as clientID

Group By [sales manager];

LOAD [sales manager],

    email,

    clientID

FROM

[https://community.qlik.com/thread/193637]

(html, codepage is 1252, embedded labels, table is @1);


Capture.PNG

anlonghi2
Creator II
Creator II

Hello Naamamor,

use Sales manager and email as dimensions of a straight table and define the expression as concat(clientID,',')

Look at attached qvw

Best regards

Andrea