In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start 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