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

Alteryx Designer Desktop Discussions

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

Calculating current period data based on prior period variable

DominicT23
5 - Atom

I am trying to recreate this formula within Alteryx. The formula calculates the current period data in BW utilizing the same period data from column BX and Prior period data from column BW over a multiple period time span. 

DominicT23_0-1604457011131.png

 

2 REPLIES 2
vizAlter
12 - Quasar

Hi @DominicT23 — Welcome to the Alteryx Discussions!

Suggest you to attached (1) the file for input along with formulas, and (2) desired output layout

AkimasaKajitani
17 - Castor
17 - Castor

You can use Multi-row formula.

 

AkimasaKajitani_2-1604460387238.png

 

 

Expression:

IF NOT IsNull([Row-1:New Field]) THEN [Row-1:New Field]*[a] ELSE [a] ENDIF

 

AkimasaKajitani_1-1604460322530.png

 

Labels
Top Solution Authors