Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Compare rows at aggregate level and flag

Shaaz
コメット

Hi All,

 

I've a input data like below and summarizing at ID,Code level.

Shaaz_0-1658835429210.png

 

Below is the expected output.

Shaaz_1-1658835490477.png

 

Logic here is

if at ID level, if we have 2 different codes then Mark them as Flag1

if at ID level, if code = 'AA' then Flag2

else Flag3

 

Can you please help me in achieving this ?

 

 

4件の返信4
Kakuffo
Alteryx
Alteryx

Hi @Shaaz 

 

Would the flag increase in number based on the code appearing twice only would anything else cause the flag count to increase?

If not please see attached

grazitti_sapna
キャスター

Hi @Shaaz, give this a try.

grazitti_sapna_0-1658836676852.png

 

Thanks!

Sapna Gupta
Amol_Telore
ボリード

@Shaaz one more way of doing this.  

Amol_Telore_0-1658836975054.png

 

Shaaz
コメット

Hi All,

 

Thanks for the above solutions, but I figured out in a simple way.

ラベル