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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
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

try like this using subfield function :

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

Kushal_Chawda

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