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

SELECTION OF STRING

Hi all,

As im new to Qlikview , im facing this issue where in i need , if my middle character matches to 2 it goes to F1 and likewise if it matches to 4 it goes to F2.

Please refer the image for better understanding.

ive been trying it for quite sometime , thought of asking out here as well.

thanks.SNIP1.PNG

 

Labels (4)
1 Solution

Accepted Solutions
mrybalko
Creator II
Creator II

LOAD
 if(mid(FIELD, 2, 1) = 2, FIELD) as F1,
 if(mid(FIELD, 2, 1) = 4, FIELD) as F2,
...

View solution in original post

2 Replies
mrybalko
Creator II
Creator II

LOAD
 if(mid(FIELD, 2, 1) = 2, FIELD) as F1,
 if(mid(FIELD, 2, 1) = 4, FIELD) as F2,
...
abhaytrip
Creator
Creator
Author

Thanks alot mate , this really did work. Apprectiate it. (y)