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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to concat values?

this is the box i have:

Capture.PNG.png

however, this is the desired output:

Capture1.PNG.png

So, how to do it?

16 Replies
Not applicable
Author

this is the script i have:

Capture.PNG.png

I just add" subfield([Purpose_of_Request/fieldvalue],',')     as splitField" ?

anbu1984
Master III
Master III

Yes

blaise
Partner - Specialist
Partner - Specialist

I would rather do it in a new table (to avoid duplicating the data) as seen in my code snippet.

Do you know how to user the resident load?

f.ex.

Table:

load

     field1,

     field2

from

     table.qvd

     (qvd)

;

Table2:

load

     field1,

     subfield(field1,',')     as field1split

resident

     Table

;

Resident loads records from an already loaded table.

Not applicable
Author

hii,

when ever you want to split a string after a symbol (, . - _ ) then you can use the subfield() function.

In your problem,

you can use it like           subfield('Purpose_of_Request',',').

Hopefully it will work.

Thanks

Not applicable
Author

subfield() will split the Purpose_of_Request after the comma.

sudeepkm
Specialist III
Specialist III

Please take a look at the attachment. whenever there is a record with two Purpose values like Request,Recovery

in that case two records will be created one with Request and another with Recovery.

Finally there will be only three categories.

T117514.png

Not applicable
Author

field1 and field 2 means "recovery and implementation"?