Alteryx Designer Desktop Discussions

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

If Statement with AND Statement Help

Grahar
5 - Atom

Hi, 

 

Could anyone help me with the case below"

 

EmployeeYears WorkedStart Date

John

09-01-2006XX
John09-01-2007XX
John09-01-2008XX
John09-01-2009XX
Mary03-01-2012XX
Mary03-01-2013XX
Mary03-01-2014XX

 

I wanted to use a formula so that the "Start Date" column populated the earliest date from the "Years Worked" column for each employee (i.e. for John, all "Start Date" row values would equal 09-01-2006. For Mary, it would equal 03-01-2012).

 

Thanks in advance!

 

9 REPLIES 9
rzdodson
12 - Quasar

@Grahar see attached. Let me know if that is what you are looking for.

 

Solution.png

Grahar
5 - Atom

I am unable to open the attached file- could you post screenshots?

 

Grahar
5 - Atom

Nevermind your screenshot just loaded for me!

Grahar
5 - Atom

Could you post screenshots of the formulas used?

nli
8 - Asteroid

This should work. I solved so that Start Date is the same format as the Years Worked column. If this helps, please mark as solution.

Screenshot.png

cjaneczko
13 - Pulsar

image.png

 

image.png

rzdodson
12 - Quasar

@Grahar these are the screenshots you requested.

 

Formula 2.png

Summarize.png

Join.png

 

caltang
17 - Castor
17 - Castor

Like so:

image.png

 

@Grahar If the above solved your need, kindly like & mark as accepted solution so that you may help others find the solution more quickly + to close the thread as is. Thanks!

Best regards,
Calvin Tang
https://www.linkedin.com/in/calvintangkw/

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
flying008
14 - Magnetar

Hi, @Grahar 

 

FYI.

录制_2023_11_20_09_55_35_170.gif

 

Input  Output  
EmployeeYears Worked EmployeeYears WorkedStart Date
John09-01-2006 John09-01-200609-01-2006
John09-01-2007 John09-01-200709-01-2006
John09-01-2008 John09-01-200809-01-2006
John09-01-2009 John09-01-200909-01-2006
Mary03-01-2012 Mary03-01-201203-01-2012
Mary03-01-2013 Mary03-01-201303-01-2012
Mary03-01-2014 Mary03-01-201403-01-2012
Labels