We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun 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