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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
retko1985
Creator II
Creator II

Cut string value - start from forth position.

Hello,

I have values like this:

99915986

999547

9998655

I need to cut first three positions, so my values will be:

15986

547

8655

Can someone help me with the code?

Thank you.

4 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this,

Load Field as Original, Right(Field,Len(Field)-3) as Newfield

From xyz;

Update:

You can als0 use the Mid function.

Mid(Field,4,Len(Field)-3)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
tresesco
MVP
MVP

Or simply:

Mid(String, 4)

shiveshsingh
Master
Master

=mid(999547,4)

qlik4asif
Creator III
Creator III

Mid(Fieldname,4,Len(Fieldname)-3)