Alteryx Designer Desktop Discussions

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

data analysis

ntudev
8 - Asteroid

I'm trying to basically find a way to add a third column that will show me if checks have same codes and if both lastmonthcheck and check have 80 then if there is another check amounts that have the same code but different check amount it  will get tagged as 1. example below. If the code is the same but one of the rows has both 80 then even if the 2nd row (with the same code) is 57 then it should get 1. I hope this makes sense

 

CodeCheckLastMonthCheckMax Check
34873980571
34873980801
34874080800
34874180570
34874280571
34874280801
34874380570
34874380570
6 REPLIES 6
geraldo
13 - Pulsar

@ntudev 

an workflow example

ntudev
8 - Asteroid

@geraldo instead of saying 57 how do i put <70?

geraldo
13 - Pulsar

@ntudev 

 

and in this way even you edit the formulas and you change the "==" for < 70 if you include the 70 you put it like this <= 70

ntudev
8 - Asteroid

@geraldo why does it only pick up 2 rows? what if i have 100 rows? that have 80 and 57? do i need copy your formula 100 times?

 

34874280571
34874280801
geraldo
13 - Pulsar

@ntudev 

 

 

The reason for 2 lines is that you need to have the current and previous line to parse.
the rule is always the current and previous line. the next line is always to check if the code belongs to the same code group.

if you need to do a 3 month analysis to make a decision then it would be 3 lines
in your case the comparison is always the current line and the previous line and the next one can be reduced to a single line in the configuration instead of 2

ntudev
8 - Asteroid

i cant figure out how to make the below in bold to also have a max check 1, can you help?

 

CodeCheckLastMonthCheckMax Check
34873980571
3487398057 
3487398057 
34873980801
34874080800
34874180570
34874280571
34874280801
34874380570
34874380570
Labels