Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RÉSOLU

Choose the row with maximum value after doing the join

ramii
Météore

Hi,

   I have table 1 containing one column. Lets say hostname with values "A1" and "B1". Table 2 has hostname, application name and risk score. See attached workflow. I want the green rows as output i.e. rows which contain highest severity level for a given hostname, application name combination(See screenshot. need the rows highlighted in green).

 

Please see the attached workflow and screenshot. 

4 RÉPONSES 4
andre347
Boule de feu

Attached a solution. I used a sort tool to sort the hostnames from highest to lowest score. Then used a sample to find the first one for each hostname (group by in the sample tool).

 

Find attached the workflow

ramii
Météore

your workflow is created in the most recent version of alteryx and I cant open it. Can you please attach a screenshot. specially the configuration you did in the sample tool. 

 

thanks a lot!

andre347
Boule de feu

Downgraded to 10.5/6 and attached screenshots

 

Screen Shot 2017-07-25 at 19.12.17.pngScreen Shot 2017-07-25 at 19.12.24.png

ramii
Météore

Hi,

   So i ran into another problem. If there are two hostnames with same risk scores for different applications, then I need both the rows. Please see screenshot. Please suggest something. 

 

Thanks,

Étiquettes