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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load numbers only from excel

I am loading an excel file, an one of the field is having combination of letters and numbers.....ex: John123456, 345678Peter .

I need to exclude those text characters and just load numbers as 123456,345678.....how can this be done in QV.

Thanks

2 Replies
wms_manis
Partner - Contributor III
Partner - Contributor III

Use the keepchar() function

LOAD

keepchar(A,'0123456789') as NuValField

FROM

keepchar.xlsx

Anonymous
Not applicable
Author

Hi,

for removing text values Purgechar function will be use full for you,

EX:   SINO

        AA100

purgechar(SINO,'A') AS SINO final result is 100

Regards