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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
polankiraghuram
Contributor
Contributor

concatenate

i have duplicates in job name column,i want to remove duplicates from job name column and want to concatenate reference column based on job name .tell query ?

Labels (2)
3 Replies
diegozecchini
Specialist
Specialist

Hi!
In SQL Server, you can use STRING_AGG


SELECT
job_name,
STRING_AGG(reference, ', ') AS concatenated_references
FROM
your_table
GROUP BY
job_name;

marksouzacosta

Hi @polankiraghuram,

Can you please give some examples with screen shots of what are you trying to achieve?

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

diegozecchini
Specialist
Specialist

hi @polankiraghuram if you found a solution, please tell us, it is useful to community