Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Select Records - up to certain unique named value

dataviolet
7 - Meteor

Hello all,

 

I have an input data that looks like this:

 

Item DescriptionAmount
item 1#
item 2#
item 3#
subtotal#
more items#
more items#
more items#
more items#
total#

 

 

The input file constantly has more rows added to the file, that roll up into the subtotal/totals. How do I formulate a Select Records tool to only select up to the subtotal row, and ignore everything after the subtotal, given that there will constantly be rows added or removed to the input file?

2 REPLIES 2
BrandonB
Alteryx
Alteryx

Here is an easy approach. You make a flag with a formula tool followed by a running total, and finally a filter to isolate the desired records. Workflow is attached for your reference. 

 

subtotal.png

dataviolet
7 - Meteor

awesome, thank you so much!

Labels