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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
hopkinsc
Partner - Specialist III
Partner - Specialist III

count characters of field values

hi, i was wondering if there was an easy way to only have values of a field if the number of characters = 3.

does anyone know of a way i can do this in the script please?

3 Replies
sbaldwin
Partner - Creator III
Partner - Creator III

you could try creating a new field using If and len(your_field) = 3 ?

Thanks

Steve

israrkhan
Specialist II
Specialist II

hi, try like below..

if(len(Field)=3, Field,' ')

hope it helps

Not applicable

If you do it in the loading scrip you can use a where statement ex.

load field1 from source.txt where len(field1) = 3;