In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Blank Dates reading as Pass

CRogers22
8 - Asteroid

Hello:

 

I am running a formula between two dates which is a >=30 and it seems if the date is blank its reading it as less than 30.

Capture 3.PNG

 

IF ToNumber([Test 2 Days])<=30
OR ToNumber([Test 2 Days 2])<=30
THEN 'Pass'
ELSE 'Fail'
ENDIF

 

How do I write it to make it fail if its fails the first test and second test return (Blank) as there is missing a date.

 

Capture 4.PNG

3 REPLIES 3
nagakavyasri
12 - Quasar
CRogers22
8 - Asteroid

@nagakavyasri       Thank you

CRogers22
8 - Asteroid

Hello @nagakavyasri sorry for bringing this one back up but wanted to see if you could help me understand the formula. 

 

I'm running into the same problem in another report but has more dates then the previous one.

Capture 5.PNG

Formula I started with.

 

Capture 6.PNG

 

more dates to take into account. I cant figure out how add the extra dates to the formula you helped me with.

 

Any help would be appreciated. 

Labels
Top Solution Authors