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

Separating feild

hi,

i have feild like this 015821 for exm.

i need to make a new feild with the 5 position from left, in the exm the feild will show the num 2.

how do i make it ?

thanks'

yarin.

Labels (1)
1 Solution

Accepted Solutions
jvitantonio
Specialist III
Specialist III

Hi, use this:

MID(Field, 5,1)

I hope this helps.

View solution in original post

3 Replies
shree909
Partner - Specialist II
Partner - Specialist II

Hi u can use the Left, right or mid functions to create a new field.

if u want 5 postions from the left  u can use Left(fieldname,5)

jvitantonio
Specialist III
Specialist III

Hi, use this:

MID(Field, 5,1)

I hope this helps.

Anonymous
Not applicable
Author

Hi,

TRY THIS

mid('015821',5,1 ) returns '2'.

Should work fine.