Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

If Zipcode don't match report exclude from output

Rachel_Forbes
5 - Atom

I'm looking for a function/formula that would exclude zipcodes in Report A's output if they're not in Report B. 

 

REPORT A.PNGREPORT B.PNG

2 REPLIES 2
PangHC
13 - Pulsar
Peachyco
11 - Bolide

You can achieve this via the Join Tool, but make sure to take the unique Zip Codes from Report B - otherwise, the records from Report A might duplicate because I can already see duplicate Zip Codes in your Report B.

 

To do this, I would use the Summarize Tool to Group By the Zip Codes from Report B before performing the Join with Report A, like in this screenshot:

Alteryx - Report A & B by Zip Codes.png

Labels
Top Solution Authors