In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Creating a new flag from adding prior row value

wahmed
6 - Meteoroid

Hello everyone, first of all,  I apologize if the sentencing of my question is not correct. 

 

I am working on a dataset where I need to create a new flag variable based on the prior row value of the same variable. Please find attached the sample dataset for your reference along with the desired output shown.

3 REPLIES 3
MarqueeCrew
20 - Arcturus
20 - Arcturus

Your example uses the last record value (not prior).  In this exercise I calculate the first and last coupon value for the new variable.  This should get you going...

 

Thanks,

 

Mark

 

undefined

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
wahmed
6 - Meteoroid

Thank Marquee,

 

This was very helpful

MarqueeCrew
20 - Arcturus
20 - Arcturus
You're welcome. We're here to help.
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels
Top Solution Authors