Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Keep Specific Rows Only

faresghnaim
7 - Meteor

Hello,

 

I have created a flag to select the start of the rows I want and the end as seen in the picture below in the "Columns" Column

Faresghnaim_0-1615310923467.png

tI would like to only keep row containing 1 and row containing 2 and anything between these 2 rows.

How could I approach that?

 

Thanks!

1 REPLY 1
RolandSchubert
16 - Nebula
16 - Nebula

Hi @faresghnaim ,

 

you could use a Multi-Row Formula tool to set a flag. Calculate a flag field starting with the "1", use the last rows value until last row contains the "2". 

I've attached a sample workflow. Let me know if it works for you.

 

Best,

 

Roland

 

 

 

 

 

 

 

Labels
Top Solution Authors