Free Trial

Alteryx Designer Desktop Discussions

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

workflow

xariet
8 - Asteroid

Hi

I am trying to figure out the workflow to get the third column - final match  

I have two columns - materials and match

If the same material has match = yes and no then we need to show  YES in the final match column, if it has yes and yes then YES, and if it is no and no then NO. Attached is the spreadsheet with the desired output

thank you!

6 REPLIES 6
binuacs
21 - Polaris

@xariet One way of doing this with the multi-row formula

 

binuacs_0-1659423227361.png

 

xariet
8 - Asteroid

Thank you @binuacs , but this workflow doesn't give the correct result. If I add material 123 with the following setting,

 

 

xariet_0-1659481570373.png

the final result I am getting is

123 no

123 no

123 yes

123 yes

where it should be all YES because the condition if there is one YES for the Material then ALL YES. I have attached my workflow as well.

ncrlelia
11 - Bolide

Hi @xariet,

 

You can first identify the list of materials with at least 1 Yes. Then set final match = 'Yes' for these records, as for the remaining, their final match will be equal to [match].

 

ncrlelia_0-1659494955116.png

Attached workflow for your reference. Hope this helps.

Thank you.

 

Best Regards,

Lelia

binuacs
21 - Polaris

@xariet I updated the workflow

 

binuacs_0-1659509465521.png

 

xariet
8 - Asteroid

@ncrlelia That is great, thank you

xariet
8 - Asteroid

@binuacs  thank you so much for your help!

Labels
Top Solution Authors