Alteryx Designer Desktop Discussions

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

Evaluating rows per ID and creating a new column

MysticalAz
8 - Asteroid

Hi Community,

 

Below is a sample set of my data. I'm trying to evaluate each ID and create a new column called "Clearance Status" that would evaluate whether the ID was previously cleared or if its the first clearance. If it was never cleared and the release date is blank, it should say "needs clearance"

 

Any idea how I can do this?

 

Input:

IDEntry DateRelease Date
1231/1/20221/2/2022
1231/4/20221/5/2022
1231/6/2022 
4562/1/20222/2/2022
4562/5/2022 
7893/1/20223/5/2022
1011124/1/2022 

 

Expected Output:

IDEntry DateRelease DateClearance Status
1231/1/20221/2/2022First clearance
1231/4/20221/5/2022Previously cleared
1231/6/2022 Previously cleared
4562/1/20222/2/2022First clearance
4562/5/2022 Previously cleared
7893/1/20223/5/2022First clearance
1011124/1/2022 Needs clearance 
2 REPLIES 2
Luke_C
17 - Castor
grazitti_sapna
17 - Castor

@MysticalAz , Please find the workflow to get your desired output. Multi-Row tool should do the needful.

 

grazitti_sapna_0-1666926472367.png

 

Sapna Gupta
Labels