The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. 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.
SOLVED

Filter Till desirable SUM is met

arods
6 - Meteoroid

So if anyone could help me with this problem i wold appreciate a lot.

 

So let´s suppose i have three columns product and qty, then I add a Record ID because the order of my products matter

 

I want alteryx to output to me the recods till the SUM of the column qty is equal to 40

The input would be something like the first pic and the output the second one.

 

 
 

 

3 REPLIES 3
apathetichell
20 - Arcturus

use running total. group as needed. use filter.

griffinwelsh
12 - Quasar

@arods Here is a solution workflow. This is the method that @apathetichell described.

arods
6 - Meteoroid

Thank you, that was it!

Labels
Top Solution Authors