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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to apply subfield function

hi all i have data like

india___AP-44967___TS-KA55786,MAIL

i want split the data new fields AP-44967 ,TS-KA55785 And mail

Labels (1)
1 Reply
Chanty4u
MVP
MVP

try this

aa:

load *,SUBFIELD(text,'___',2)  as 1,

SUBFIELD(text,'___',3)  as 2,

SUBFIELD(text,',',4)  as 3  ;

load * Inline [

text

india___AP-44967___TS-KA55786,MAIL

];

exit Script;