Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Data type operations

vvissamsetty
8 - Asteroid

I have 2 columns with dates. I'm trying to create a check function where if Column A < (Column B - 90 days) then its 'True' else 'False'. It would be great if anyone can help me with this.

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @vvissamsetty 

 

Try this - using Formula Tool:

IF Column A < DateTimeAdd(Column B, -90, "days") THEN "True" ELSE "False" ENDIF

 

Cheers,

vvissamsetty
8 - Asteroid

That worked. Thanks @Thableaus 

Labels
Top Solution Authors