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!
Free Trial

Alteryx Designer Desktop Discussions

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

How to Remove all Rows after a Specific Row

Junnel_8533
6 - Meteoroid

Hello! Would just like to ask if there is a way remove all the rows after the row that has a subtotal. Kindly see screenshot. On this example I want to remove all rows after 492 (Row 493 and all succeeding rows after). I want to know if there is a dynamic solution as the row number with subtotal might change (e.g. subtotal might be on Row 392 when I next run the workflow, hence, I need to remove all rows from 393 and after). Thank-you very much!

 

Junnel_8533_0-1676788394659.png

 

1 REPLY 1
ShankerV
17 - Castor

Hi @Junnel_8533 

 

One way of doing this.

 

Output:

ShankerV_1-1677033477814.png

 

Input was

 

ShankerV_0-1677033432546.png

 

Hope this helps!!!!

 

Many thanks

Shanker V

Labels
Top Solution Authors