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: 
Mahamed_Qlik
Specialist
Specialist

Script Help

Hi All,

I need help on help on the below scenario :

I have field named as "Name"

Name
1
2
3
John
Mark

I need the column Name as only Names in it in script such as :

Name
John
Mark

Kindly Help.

Regards,

Mahamed

1 Solution

Accepted Solutions
maxgro
MVP
MVP

you can check for number and exclude the field (bold)

load Name

Inline [

Name

1

2

3

John

Mark

Mark1

]

Where not IsNum(Name);

View solution in original post

6 Replies
Anonymous
Not applicable

may be like:

load *,

if(len(Name)>1, Name) as Name

from tableName;

arulsettu
Master III
Master III

try this

PurgeChar(name,'0123456789') as new

maxgro
MVP
MVP

you can check for number and exclude the field (bold)

load Name

Inline [

Name

1

2

3

John

Mark

Mark1

]

Where not IsNum(Name);

tamilarasu
Champion
Champion

Try,

Test:

LOAD FieldName

FROM

[Input.xlsx]

(ooxml, embedded labels, table is Target) where Not IsNum(FieldName);

tamilarasu
Champion
Champion

Or

Where IsText(FieldName);

Mahamed_Qlik
Specialist
Specialist
Author

Hey maxgro,

It works.! It is new for me

Thank you for the help.