Alteryx Designer Desktop Discussions

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

Help in Comparing data

pratap19
6 - Meteoroid

Hi,

 

Can some one please help me with below case?

 

Date set 1: Employee current progression steps

 

EmployeeGradeStep1Step2Step3Step4
A1StartLevel 10Level 15Level 17
B1Level 10Level 15Level 17 
C1Level 15StartLevel 17 

 

Date set 2: Progression steps by grade should be as below

 

GradeStep1Step2Step3Step4
1StartLevel 10Level 15Level 17

 

Desired output:

1) Compare Step 1 progression in Data set 1 with Data set 2 to find out at what step the employee started with!

2) Check whether the employee followed exactly same steps follows in Data set 2

 

Example: Employee B started at Level 10. That is Step2 in Dat set 2. Now the employee next levels in Data set1 should match with Step3 and Step4 in Data set 2.

 

Example output:

 

EmployeeGradeStep1Step2Step3Step4
A1okokokok
B1 okokok
C1  okNot ok

 

Please some one help me with the flow for this challenged task.

 

Thanks in advance!

6 REPLIES 6
FilipR
11 - Bolide

Please see attached.

 

FilipR_0-1657780041221.png

 

 

FilipR_1-1657780046904.png

 

pratap19
6 - Meteoroid

Hi Filip,

 

Thank you for your reply. I didn't find any where you are comparing Data set1 with Data set2. The comparison should be between Planned progression(i.e. Data set2) with actual employee progression.

 

Can you please help me on this!

 

Thanks in advance.

FilipR
11 - Bolide

@pratap19 Isn't the progression always the same for all users, though? I am checking if the level number is higher for the next step (I am assigning number 1 to Start beforehand, since it didn't have any).

 

I mean, you probably have more grades with different steps, but I assume Step2 is never of a lower level than Step3.

FilipR
11 - Bolide

Please check another variant.

 

FilipR_0-1657784018220.png

 

pratap19
6 - Meteoroid

Hi Filip, 

 

Thanks for the reply. That was close to what I need. But please go through the below updated criteria and help me please.

 

Date set 1: Employee current progression steps

 

EmployeeGradeStep1Step2Step3Step4
A1StartLevel 10Level 15Level 17
B2Level 10Level 15Level 17 
C3Level 15StartLevel 17 

 

Date set 2: Progression steps by grade should be as below

 

GradeStep1Step2Step3Step4
1StartLevel 10Level 15Level 17
2StartLevel 10Level 19 
3Level 10Level 15StartLevel 19

 

Desired output:

1) Compare Step 1 progression in Data set 1 with Data set 2 to find out at what step the employee started with!

2) Check whether the employee followed exactly same steps follows in Data set 2

 

Example: Employee B started at Level 10. That is Step2 in Dat set 2. Now the employee next levels in Data set1 should match with Step3 and Step4 in Data set 2.

 

Example output:

 

EmployeeGradeStep1Step2Step3Step4
A1okokokok
B2 okNot okNot ok
C3 okokNot ok

 

Please help me with the flow for this challenged task.

 

Thanks in advance!

FilipR
11 - Bolide

I don't quite understand your output example. Employee B should be OK / Not ok / Not ok / Null (or Not ok), while you start with a blank and say that Employee B's Step 2 (which is marked as "Level 15") was OK.

 

Please check the updated workflow. I'm marking if the step the Employee took was valid or not based on the matrix (and assuming an Employee could have skipped some steps, but couldn't go back to Step 2 after doing Step 3 already).

 

FilipR_0-1657883701859.png

 

Labels