Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula that would bring in data for the past three years

Richie059
7 - Meteor

Hey guys, So I'm trying to allow the user to select a year which would then select the data relevant to that year and the two prior years. However, I'm struggling a great deal. I have two columns I can work from for this. the "project Code" or the "Datetimeout" variables. Thanks everyone!

Richie059_0-1644506669557.png

 

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Richie059 

 

Use filter formula like this for 3 yrs

 

atcodedog05_0-1644507439520.png

 

Hope this helps : )

 

saisaranv
7 - Meteor

have you tried to extract the "Year" separately to New Column and you can filter condition with "Year - 3" (Range) like that.  

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Richie059 

Cheers and have a nice day!

Labels
Top Solution Authors