Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Calculate Calendar Year using Fiscal Year data column?

GabbyH
6 - Meteoroid

I have a fiscal year column that I need to use to assign the calendar year for the months of October-December and cannot figure out a good formula to use? Data is structured like below...I need Cal_Year to show 2021 and none of the formulas I try to input seem to work. 

 

GabbyH_0-1666891280735.png

 

2 REPLIES 2
ShankerV
17 - Castor

Hi @GabbyH 

 

Make use of the formula tool with condition if OCT OR NOV OR DEC

then OG_Month

else "Empty"

 

Hope this helps, if you need more in specific, can you please attach the sample file in Excel and desired output too.

So I can fetch you the results.

Matthew
11 - Bolide

perhaps something like this:

 

 

if
  [Conv_Month] >= 10 
then 
  [OG_Fiscal] - 1
else
  [OG_Fiscal]
endif

 

 

Labels