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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Check for Numbers

Hi All,

I have a field with 0043-APT-XYZ-DW.

The first 4 elements shows the project name.

How to check whether the first 4 elements are number?

Regards,

Keerthi KS

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

IsNum(Left(YourField,4))

or,

IsNum(SubField(YourField,'-',1))

View solution in original post

3 Replies
tresB
Champion III
Champion III

IsNum(Left(YourField,4))

or,

IsNum(SubField(YourField,'-',1))

avinashelite
MVP
MVP

try like this using subfield function :

IsNum(SubField(FieldName,'-',1))

Kushal_Chawda
MVP
MVP

if( isnum(subfield(Field,'-',1)), expression1, expression)