Alteryx Designer Desktop Discussions

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

Comparing columns and selecting lower or higher values in those rows

jaygerbs
7 - Meteor

I am willing to bet this is pretty easy for the experts!

 

If column 1 (UN) contains duplicates I'd like to compare the other rows of the duplicate UN and select either the lower or higher value.  Then the output would be one row for each UN

 

Example below:

UN123456789
User 1 00:34:56:755.2105895344.5 00:00:11:324.1
User 100:00:08:36   68712.5  5.6
User 1 00:38:26:651.26842  4.6500:38:26:65 
          
OUTPUT         
User 100:00:08:3600:34:56:755.2684295344.54.6500:00:11:32 5.6

 

5 REPLIES 5
binuacs
20 - Arcturus

@jaygerbs 

 

binuacs_0-1641591808811.png

 

cgoodman3
14 - Magnetar
14 - Magnetar

For the fields 1-9 how do you decide whether it is the higher or lower value you want each time?

Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
binuacs
20 - Arcturus

@jaygerbs I updated my workflow so that the min value will be selected for the time fields

 

binuacs_0-1641625842663.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @jaygerbs 

 

Here is my take on it.

 

Workflow:

atcodedog05_0-1641632410135.png

 

Hope this helps : )

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @jaygerbs 

Cheers and have a nice day!

Labels