Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
rajat2392
Partner - Creator III
Partner - Creator III

Get comma separated values of a field

Hi,

I have a field with number values. There are around 106,000 records in the table.

I want all the values in any object as comma separated.

Can anybody suggest me how to achieve it.

Thanks

Rajat Arora

16 Replies
Kushal_Chawda

Want to do it in script or on front end?  what is the expected output you need?

rajat2392
Partner - Creator III
Partner - Creator III
Author

Text object is required.

I can manage in a straight table as well.

But this expression doesn't work with this huge set of record.

rajat2392
Partner - Creator III
Partner - Creator III
Author

Script is also fine.

Need all the distinct values in a row with comma separation.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

What you can do is use the concat function in script and then use that in chart or text box.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Kushal_Chawda

Data:

LOAD  FieldA,

             FieldB,

             Concat(distinct FieldC,',') as CommaSep

FROM table

group by FieldA,FieldB;

Kushal_Chawda

what is the purpose of showing huge value in same row..?

rajat2392
Partner - Creator III
Partner - Creator III
Author

Thanks Kushal

This solved my issue.

Thanks to everyone else for the responses.