Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Removing entries from False Output Filter where ID is true Output

Masond3
8 - Asteroid

Afternoon Team, 


Hope all is well. 

Looking for some assistance.

AIM : In the "False" output of a Filter, check and see if the ID in "IDA" column is in the "True" output.

  • If the ID is Found in the "True" output then remove the record from the "False" Output
  • If the ID is Not found in the "True" output then Do nothing (Ie dont remove record)

Example 

Input 1

First NameLast Name CompanyIDA
DanielJohnsonJohnson & Co111111


Input 2 

IDFirst NameLast Name Company
999999DanielJohnsonJohnson & Company - NYC
888888DanielJohnsonFerrari 

 

I am performing a trim([First Name]+[Last Name]) and then joining onto another table . Which produces the following ;

 

IDFirst NameLast Name CompanyFirst NameLast Name CompanyIDA
999999DanielJohnsonJohnson & Company - NYCDanielJohnsonJohnson & Co111111
888888DanielJohnsonFerrari DanielJohnsonJohnson & Co111111

 

I am producing a "Reason" Column which is a formula to say ;  IIF(Contains([Company], [Company]), 'Contains', 'No Match')

 

IDFirst NameLast Name CompanyFirst NameLast Name CompanyIDAReason 
999999DanielJohnsonJohnson & Company - NYCDanielJohnsonJohnson & Co111111Contains
888888DanielJohnsonFerrari DanielJohnsonJohnson & Co111111No Match

 



Regards
Masond3

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Masond3 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1646071984610.png

 

Hope this helps : )

 

Masond3
8 - Asteroid

@atcodedog05  Thanks for responding, However that doesn't resolve my use case. If we look at the attached flow, my problem is when i apply a filter after the "If Formula". The reason why i need that filter, is because if that ID not found in the "True" Output then i need to continue with additional Logic, But i want to ensure that i am only processing records which are needed. ( ie not found in the "True Output")


atcodedog05
22 - Nova
22 - Nova

Hi @Masond3 

 

Try this with more sample data. Hope this meets the requirement.

 

atcodedog05_0-1646072732362.png

 

Hope this helps : )

 

Labels