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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
rolandg1881
Creator
Creator

Cut string on the right side

Hi!

Does anybody knows how ich can cut the right side of a string in qlikview.

For Example i habe the niumver 12683001. I want cut only the last 3 signs so that the new strings look like 12683

Thank you for your help.

Best regards 

Roland

1 Solution

Accepted Solutions
martinpohl
Partner - Master
Partner - Master

if the number of digits always the same you can say 

left (niumver ,5) as niumver5

otherwise

left(niumver ,len(niumver)-3) as niumver_new

regards

View solution in original post

2 Replies
martinpohl
Partner - Master
Partner - Master

if the number of digits always the same you can say 

left (niumver ,5) as niumver5

otherwise

left(niumver ,len(niumver)-3) as niumver_new

regards

rolandg1881
Creator
Creator
Author

Thank you very much!