Alteryx Designer Desktop Discussions

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

3 condition If formula

Masond3
8 - Asteroid

HI All, 

I need some assistance, i can explain what i want with examples but struggling to formulate this into alteryx logic. 

Using the the example below i need some help building out an "outcome column"

 

The logic to drive the value in the "Outcome Column" Is as follows  ;

 

NB : 

  • Only assess values within a group
    • If "Count of Group" = 2 and within that group, one row has a Source Populated of ;
      FINRA
      GLEIF
      BVD
      & the other Source is either "None" Or "Null" 
    • Then I want the on the row of the record with the Source Populated for that given group to have the word "Master" populated in column called "Outcome" 

 

Group Count of GroupName IDSourceOutcomeMaster Id
1002Mason LTD0013a00001a55fgAAAFINRAMaster 0013a00001a55fgAAA
1002Mason LTD0013a00001pjDhyAAENone 0013a00001a55fgAAA
1012Mason LTD0013a00001a83U0AAIFINRAMaster 0013a00001a83U0AAI
1012Mason LTD0013a00001pjDVLAA2[Null] 0013a00001a83U0AAI
1022Mason LTD0013a00001aLfM0AAKGLEIFMaster 0013a00001aLfM0AAK
1022Mason LTD0013a00001pjFwrAAE[Null] 0013a00001aLfM0AAK
1032Mason LTD001j000000sSOEXAA4[Null] 0013a00001aayzQAAQ
1032Mason LTD0013a00001aayzQAAQBVDMaster 0013a00001aayzQAAQ

 

Looking forward to your assistance

Kind Regards
Masond3

2 REPLIES 2
ChrisTX
15 - Aurora

This option isn't the most efficient because it uses a cartesian join, but it avoids a batch macro.

 

ChrisTX_0-1636028798797.png

 

 

Chris

Christina_H
14 - Magnetar

Here's my take:

Christina_Hurrell_0-1636036243654.png

 

Labels