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.

Dates ?

suby
11 - Bolide

Hi All,

 

I have a sample Input Data and expected Output in the attached workflow.

 

I want to the find difference in Months between the SECOND DATE & FIRST DATE and bucket it.

 

Attached the sample workflow.

 

Thanks.

 

 

 

2 REPLIES 2
Luke_C
17 - Castor
17 - Castor

Hi @suby 

 

See attached. This can be accomplished with the datetimediff function after converting your values to be valid dates. Then bucketing can be done with a few IF statements.

 

I recommend you bookmark this link on dates, it is super helpful to refer to: https://help.alteryx.com/current/designer/datetime-functions

 

Luke_C_0-1623888403871.png

 

Qiu
21 - Polaris
21 - Polaris

@suby 
I use the DateTimeParse function.

The result for A1, A5 A6 are different but the input seems to be same.

Capture1A.PNG

Labels
Top Solution Authors