In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Count the rows and give the desired output

sneha_bhiwagade1
8 - Asteroid

Hi Team,

 

I hope you all are doing well!!

 

I have a below table where for one subject when we have the same roll numbers in multiple rows than output A else output B

 

Please find the below table

 

roll no subjectoutput
1englishA
2englishB
1englishA
3hindiB
4hindi B

 

Many Thanks in advance

4 REPLIES 4
alexnajm
19 - Altair
19 - Altair

This table seems to follow the rule provided - can you provide more information?

binu_acs
21 - Polaris

@sneha_bhiwagade1 one way of doing this

binu_acs_0-1762272037436.png

 

sneha_bhiwagade1
8 - Asteroid

Hi Team,

 

My input table is 

1english
2english
1english

 

output table is

 

roll no subjectoutput
1englishA
2englishB
1englishA

 

So here basically i have to check for subject = english do i have the same roll number in multiple rows if yes then i need the output as A else B

 

Many thanks in advance :)

alexnajm
19 - Altair
19 - Altair

@binu_acs 's solution works then

Labels
Top Solution Authors