We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to find the person that last logged in from a list?

richleeb2
8 - Asteroid

I assume this is done with the summarize tool.  I need to find the person that last logged in grouped by the Group number.  Only the last logged in person, so each Group will only have 1 entry.

 

GroupPersonLast Login
1john1/1/22
1james

1/2/16

2jim1/5/18
2jill5/6/14
3mike1/5/20
3steve1/1/22
3larry2/2/20

 

The result should be:

 

GroupPersonLast Login
1john1/1/22
2jim1/5/18
3steve1/1/22
3 REPLIES 3
Luke_C
17 - Castor
17 - Castor

Hi @richleeb2 

 

Here's one way:

  1. Convert the date to proper date format
  2. Sort by Group/Date
  3. Use the sample tool to take the first record for each group. Because of the sorting this will be the latest.

Luke_C_0-1668705565631.png

 

 

Felipe_Ribeir0
16 - Nebula

Hi @richleeb2 

 

One way of doing this

 

Felipe_Ribeir0_0-1668705930121.png

 

richleeb2
8 - Asteroid

This worked thank you!

Labels
Top Solution Authors