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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Number to String

Hi,

I have a field 'COV' which has values like this:  51 , 85 > 2M.

When i apply num#(COV) as COV in script, I got result 51 but not getting 85 > 2M as this is a string.

How can i get both values here?

Thanks

11 Replies
pradosh_thakur
Master II
Master II

No it is not


LOAD *,ALT(NUM(COV),NUM(LEFT(TEXT(COV),INDEX(COV,' ',1)))) AS COV_RESULTS;
load * inline [
item,COV
a,51
b, 85 > 2M
];

Capture.PNG

Learning never stops.
Anonymous
Not applicable
Author

Ok thanks a lot!