Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
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