Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Find minimum value of a group of data then create new column with min value and IDs

JPSeagull
8 - Asteroid

Hi. I have tried various ways, but I simply need to isolate any Item numbers that have multiple Account IDs with Days to Pay values and then list the minimum Days to Pay and the associated Account ID to be for the entire group of Item Numbers. Here is the raw data (with Item ID that appears more than once bolded)

 

Item IDAccount NumberDays to Pay
1B457815
2B887330
3Z544430
3T771245
3V002315
4C691230
5M038515
5P000530
6A973430

 

Here is what I want to get to (I bolded the Item ID that appears more than once)

Item IDAccount NumberDays to PayAccount Number (By min Days to Pay Min)Days to Pay on Group Min
1B457815B457815
2B887330B887330
3Z544430V002315
3T771245V002315
3V002315V002315
4C691230C691230
5M038515M038515
5P000530M038515
6A973430A973430
2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @JPSeagull,

One way is to sort the data with the sort tool then grab the lowest element for each Item ID with the sample tool. Finally join it all together:

IraWatt_0-1660834718922.png

Any questions or issues please ask

Ira Watt
Technical Consultant
Watt@Bulien.com 

 

JPSeagull
8 - Asteroid

@IraWatt - Thank you! It works perfect. Much appreciated!

Labels