Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Summarize Tool Query

DHB
8 - Asteroid

I'm using the Summarize Tool to isolate the earliest instances of a person in a set of data.  I want to show an unsummarized value from another column but am only able to SUM, AVERAGE etc.  that value.  Does anyone know a way I can generate the bottom table from the one above it?

 

PersonDateValue
11/01/20163
110/01/20167
22/01/20169
215/01/20162
320/01/20167
32/02/20161
   
PersonMin DateValue
11/01/20163
22/01/20169
320/01/20167

 

Thank you in advance for your help.

 

Best,

 

DHB.

4 REPLIES 4
DataBlender
11 - Bolide

Hi @DHB, you'll need to join the results of your summarize back on to your original dataset using person and date (see attached).

jdunkerley79
ACE Emeritus
ACE Emeritus

I would suggest you try using a sample tool grouped by Person to pick the first element:

2016-12-15_12-57-51.png

Sample attached

tom_montpool
12 - Quasar

What you're describing is exactly what the Unique tool does...in your case, Sort your input on the date field and then configure the Unique tool to take the unique Person.

 

The Unique tool uses the sort order of the input and takes the full record of the first instance of each unique value.

 

Here's the help for the tool -- Unique

DHB
8 - Asteroid

Thank you all for the variety of solutions, I really appreciate you taking the time to help me.  The sample tool worked best in my case.  After isolating the first record I ran a formula, the result of which I was able to transpose to all the other rows.

 

Thansk again,

 

DHB

Labels
Top Solution Authors