Alteryx Designer Desktop Discussions

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

Pulling out values from eg. row+3 based on specified value

Wojtek_Dz
8 - Asteroid

Hi, 

 

as in topic is it possible to pull out values from eg. row+3 based on specified value. (in this example I woullike to pull out the value which is 3 rows below value "Peter")

IN:

 

Name
Peter
Blue
Green
Pink
Yellow
Peter
Yellow
Red
Purple
Red
Peter
Black
Gray
Orange
Gray

 

OUT:

 

New_1
Pink
Purple
Orange

 

Mutli-Row tool is not good for this case :(

 

Wojtek_Dz_0-1661349191399.png

 

Thanks !

 

3 REPLIES 3
DataNath
17 - Castor

Hey @Wojtek_Dz, I'd say you were on the right lines with the Multi-Row Formula. However, for this case I'd just use it to apply a flag like so:

 

DataNath_0-1661413073322.png

 

Which we can then use as a Filter condition to remove the other records:

 

DataNath_1-1661413097501.png

 

Following this, you can either leave it or add a select to remove the newly-created [Flag] field.

Wojtek_Dz
8 - Asteroid

😮 thanks @DataNath  for this pro-tip 

flying008
14 - Magnetar

Hi, @Wojtek_Dz 

 

Get.png

Labels