Alteryx Designer Desktop Discussions

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

Filtering for multiple columns where identifier is repetitive

n598069
5 - Atom

Hello,

 

I am trying to find a way to filter data for an amount greater than x in one column, where, if the identifier in a second column is found in another row, it would be eliminated by virtue of any other row having a value over the variable x amount

 

Example

Data set captures purchases individually by client name. I want to see clients whose purchases never exceed $10. If any single purchase by the client over a given time period is >$10, that client would be separated/filtered out.

 

Can anyone help me with a formula for this?

 

Thank you,

Chris

2 REPLIES 2
john_watkins
11 - Bolide

You could use a Summary tool to find the MAX(dollars spent in transaction) and join it back to your data set.   Run the data through a filter where Purchase$ <= MAX(Purchase$ across time) and the True side gives you customer never spending over that.  The False side would give customer who did spend over that.   I don't know your exact rules, but that basic series of tools would work.

Jonny
11 - Bolide

Hi @n598069 ,

 

I have built this one for you, see attached.

my assumption here is that the threshold will change, hence the macro input.

Jonny_2-1626944150567.png

 

to run it click on the magic wand button

Jonny_1-1626944094492.png

Jonny_3-1626944180026.pngJonny_4-1626944189822.png

Jonny_5-1626944203653.png

 

let me know if it helps?

 

cheers!

 

Jonny

 

Labels