Alteryx Designer Desktop Discussions

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

Delete group based on Values included

Teresa3
6 - Meteoroid

Hi Community,

 

I have a set of data with groups (Employees) and I would like to delete the whole group if a specific Value is not included in the group. Please see the example below:

Condition: Delete Employee Group if Employee has no "Hypo" Pay Item -- here A has to be deleted.

 

 

Employee groupPay Item
AAdd. S
ABS
BBS
BHypo
BAdd. S
CHypo
CBS

 

Thanks for your help!

4 REPLIES 4
ShankerV
17 - Castor

Hi @Teresa3 

 

The solution for this sample dataset it easy, do you need the same to work for a huge dataset also.

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @Teresa3 

 

Here is the simple solution, which will work for your sample and also huge dataset.

 

ShankerV_0-1669128081917.png

 

Output:

 

ShankerV_1-1669128094237.png

 

Many thanks

Shanker V

 

ShankerV
17 - Castor

Hi @Teresa3 

 

Step 1: Input

ShankerV_0-1669128146017.png

 

 

Step 2: Filter tool

ShankerV_1-1669128164047.png

 

step 3:

ShankerV_2-1669128183658.png

 

 

Step 4; 

ShankerV_3-1669128203121.png

 

 

Output:

ShankerV_4-1669128215391.png

 

Kindly accept this solution if it provided a solution to your question.

 

Many thanks

Shanker V

 

 

 

Teresa3
6 - Meteoroid

Hi @ShankerV,

 Thank you very much! 

Your solution is as simple as good!

 

 

Labels