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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
daisy1438
Contributor III
Contributor III

how to remove string values in a field?

Hi

I have one field like below it showing numbers and string values.so if requirement keep string in a field remove numbers or if requirement keep numbers  remove strings.how?

data:

1203

4567

OBALT

OBALT

9200

3456

22334

OEUROPE

OEUROPE

like that.

data is field name.

Thanks

daisy

10 Replies
ychaitanya
Creator III
Creator III

Hello Daisy

load PurgeChar(data,'OBALTEUORPEABCDEFGHIHKLMN')  as Data1,

KeepChar(data,'OBALTEUORPEABCDEFGHIHKLMN') as data2;

LOAD * INLINE [

    data

    1203

    4567

    OBALT

    OBALT

    9200

    3456

    22334

    OEUROPE

    OEUROPE

];

Please mark the posts as Helpful or answered to close the discussion so that it would be helpful for others in the community