Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

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