Alteryx Designer Desktop Discussions

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

Remove rows based on condition

ah108
6 - Meteoroid

Hello All,

 

I am a new user and need your assistance in solving an issue.

 

Below is a sample of my data. If any row with the same Batch ID has an Allocation rule = User provided i must delete all rows associated with that Batch ID. 

 

There is no set amount rows associated with each Batch ID. 

 

Batch IDJE IndexTransaction IndexAllocation Rule
20078811Non-Dominant
20078821Non-Dominant
20078812User Provided
20078822User Provided
20332411Non-Dominant
20332412User Provided
20333711Non-Dominant
20333712By Units Held
20348511Non-Dominant
20348512By Units Held
20371912Non-Dominant
20371913Non-Dominant
20371911By Units Held

 

Expected Result:

 

Batch IDJE IndexTransaction IndexAllocation Rule
20333711Non-Dominant
20333712By Units Held
20348511Non-Dominant
20348512By Units Held
20371912Non-Dominant
20371913Non-Dominant
20371911By Units Held

 

Thanks!

4 REPLIES 4
Luke_C
17 - Castor

@ah108 

 

Here's one way with a filter + Join

 

Luke_C_0-1616793250347.png

 

Qiu
20 - Arcturus
20 - Arcturus

@ah108 
Basically similar with @Luke_C , just add one unique tool to make sure.

AC1.PNG

ah108
6 - Meteoroid

Thanks for the help!

ah108
6 - Meteoroid

Thanks for providing workflow. This worked out

Labels