Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Date Maturity Buckets - New Column

EBrown0423
5 - Atom

Hello - 

 

I am attempting to create a new column using a formula that will produce maturity buckets (<1 year, 1-3 years, etc.) based on a maturity date field in my dataset.  These buckets need to be based on quarter end date so there has also been an "As of Date" field added to the data set with the quarter end date listed for every record.  Could anyone assist with a formula that would satisfy this requirement?  I am having trouble coming up with anything that gets me to the desired outcome.

 

Thanks so much!

Eric 

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @EBrown0423,

I've attached an example workflow which works with days though the logic should be applicable to your task by changing the numbers/from "days" to "years". This If statement buckets each date from a given time:

IraWatt_0-1651514300977.png

HTH,

Ira

 

 

binuacs
21 - Polaris

@EBrown0423 @Can you provide a sample input file with expected output result 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels