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: 
doespirito
Creator
Creator

Loops in a script

Hello,
I am trying to do the opposite of what Henric Cronström demonstrates in this topic: https://community.qlik.com/blogs/qlikviewdesignblog/2013/09/02/loops-in-the-script

I would like to concatenate the skills in the same field.


interations.PNG


See the qvw fil attached for datas.


Can someone help me do that?

Thank you very much,

Arnault

1 Solution

Accepted Solutions
rubenmarin

Hi, just use concat(field, ','):

Individuals_skills:

LOAD [Emplyee no], Concat(skills, ',') as skills

Group By [Emplyee no];

LOAD * INLINE [

    Emplyee no, skills

    159, Economics

    159, Pharmacology

    163, Marketing

    163, Siciology

    163, Spanish

    174, Bookkeeping

    174, particle physics

    210, Economics

    210, Marketings

];

Keeping skills separated uses less space and allows simpler list boxes for selections.

View solution in original post

2 Replies
rubenmarin

Hi, just use concat(field, ','):

Individuals_skills:

LOAD [Emplyee no], Concat(skills, ',') as skills

Group By [Emplyee no];

LOAD * INLINE [

    Emplyee no, skills

    159, Economics

    159, Pharmacology

    163, Marketing

    163, Siciology

    163, Spanish

    174, Bookkeeping

    174, particle physics

    210, Economics

    210, Marketings

];

Keeping skills separated uses less space and allows simpler list boxes for selections.

doespirito
Creator
Creator
Author

Many thanks Ruben,

it's amazing what you can do with so few instructions !


Arnault