Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

How do you assign values in new field based on an offset of -3?

Philip
12 - Quasar

Hi

 

I need to assign values in a new lag field based on an offset of -3 sorted by date. I.e., the lag value for record ID 4 would be the value from record 1, record 5 would be record 2, record 6 would be record 3, etc.

 

I looked at the Multi-Row Formula, but it only looks at row-1. Is there similar functionality in Alteryx to lookup values as row-3 (or any other offset value)?

3 REPLIES 3
kevinbird15
9 - Comet

Change the Num Rows and the Row - N will increase to the number that you need.  Let me know if this doesn't solve your issue. 

 

Multi_Row.PNG

 

Thanks, 


Kevin J. Bird

s_pichaipillai
12 - Quasar

Hi Philip,

 

here you go

 

configure your Multi Row "Num Rows" to 3

MR.PNG

Philip
12 - Quasar

Aha. Thanks to both answers!

Labels