Alteryx Designer Desktop Discussions

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

How to check multiple values against a single value (Recipient)?

Sangz
6 - Meteoroid

I need to check if a Recipient has a missing Current Agreement in place. Would pivot be the best solution? Or using formula.

 

My workflow now provides the output like this. How should i proceed further.

RecipientRecpt Cust nameAgreementFlagCount_ofAgreements
12625576SSSSSSSSPastAgreement31
12625627IIIIIIIIIIIIICurrentAgreement182
12625635MMMMCurrentAgreement22
12625635MMMMPastAgreement4
12625645CCCCCCCurrentAgreement5
12625653DDDDDCurrentAgreement1571
12625653DDDDDPastAgreement949
12625681AAAAAACurrentAgreement7
12625681AAAAAAPastAgreement40
12625681AAAAAAFutureAgreement5
12625702RRRRRRRPastAgreement897

 

I would like the workflow to provide the output of the Recipient that has no Current Agreement. ie, the output should return the below Recipients based on the above data

 

RecipientRecpt Cust nameAgreementFlagCount_ofAgreements
12625576SSSSSSSSPastAgreement31
12625702RRRRRRRPastAgreement897
5 REPLIES 5
Emil_Kos
17 - Castor
17 - Castor

Hi @Sangz,

 

I have created a workflow for you:

 

Emil_Kos_0-1604241368468.png

 

The desired output:

 

Emil_Kos_1-1604241388674.png

 

Please mark my post as a solution if this something helpful for you!

Good Luck!

Sangz
6 - Meteoroid

Thankyou Emil_Kos for your help. I tried the workflow. Looks like we are almost there, but the Left join is excluding some of the data that i need to see in the output. 

 

If i do a normal Join, you can see in the below table - Recipeint has both a Past Agreement and Future Agreement, but it does not show up in the workflow using the Left Join. Ideally it should show this Recipeint because there it does not have a "Current Agreement".

 

What if i have a Recipient that has no Past Agreement Either, then the left Join would fail to show me such a Recipient right? Any suggestions if this is the best possible way to get the data i require? My intention is to ensure that i see all Recipients that do not have a "Current Agreement", even if they had a Past Agr

 

RecipientRecpt Cust nameAgreementFlagCount_RebateAgreementRecipientRecpt Cust nameAgreementFlagCount_RebateAgreement
12626223FFFFFFFPastAgreement5612626223FFFFFFFFutureAgreement4

 

atcodedog05
22 - Nova
22 - Nova

Hi @Sangz 

 

The requirement is much more clear now

 

Here is a workflow for the task.

Output: Recipients which does have CurrentAgreement

atcodedog05_0-1604250710706.png

Workflow:

atcodedog05_1-1604250745448.png

 

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

Emil_Kos
17 - Castor
17 - Castor

Hi @Sangz,


thank you for marking my answer as a solution. 

good luck!

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @Sangz 

 

Cheers and Happy Analyzing 😀

Labels