Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Help with dates

AHM
7 - Meteor

Hi,

 

So here is a sample. Employee X was terminated, but then rehired.

AHM_1-1616070965105.png

I want it as follow 

AHM_2-1616071338824.png

Before, I used to do this manually on excel. I used to do a pivot table and put "count" to reflect how many lines they have. and then do a VLOOKUP from the pivot table to get the count and if it was more that 1, I would check it manually. 

AHM_3-1616071618504.png

AHM_4-1616071887212.png

4 REPLIES 4
danilang
19 - Altair
19 - Altair

Hi @AHM 

 

It would help if you could attach the actual excel file as opposed to just a screen shot

 

Dan

AkimasaKajitani
17 - Castor
17 - Castor

Hi @AHM 

 

Is this workflow work well for you?

AkimasaKajitani_0-1616082531929.png

 

Input : 

AkimasaKajitani_1-1616082598003.png

 

Output :

AkimasaKajitani_2-1616082636315.png

 

If you have any questions, please don't hesitate to contact me.

afv2688
16 - Nebula
16 - Nebula

Hello @AHM ,

 

how about this?:

 

Untitled.png

 

Regards

hike44
7 - Meteor

I think you can do it with a pretty simple flow.  I added an extra employee in there ("ZZ") to test for scenario where someone is hired and terminated twice.  

 

kshuk_0-1616086404995.png

 

 

Labels