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

Announcements
Discover how organizations are unlocking new revenue streams: Watch 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

1 Solution

Accepted Solutions
tresesco
MVP
MVP

IsNum(Left(YourField,4))

or,

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

View solution in original post

3 Replies
tresesco
MVP
MVP

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)