ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. 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

Date formula

miki2024
6 - Meteoroid

Hi there,

I'm going to run a new campaign to reward new members who join the club for 9 months. 

In our customer database, we have customers' join date data (in date format: YYYY-MM-DD).

 

I wonder what goes wrong with my following formula

 

If DateTimeDiff([Club Entry Date],DateTimeToday(),"month")<=9 THEN "Y" ELSE "N" ENDIF

 

Thanks!

1 REPLY 1
ShankerV
17 - Castor

Hi @miki2024 

 

Please use the below, just interchanged the dates in your formula.

 

If DateTimeDiff(DateTimeToday(),[Club Entry Date],"month")<=9 THEN "Y" ELSE "N" ENDIF

 

ShankerV_0-1680703989929.png

 

Many thanks

Shanker V

 

Labels
Top Solution Authors