Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Group BY

suby
11 - Bolide

Hello

 

Here i have 3 columns out of which Column C1 is populated with Yes or no based on certain conditions using Sub Category field.

 

What I'm expecting is i need another new column where if any of the C1 has got one 'Yes' then i want to classify the category as 'Yes' in my new column.

4 REPLIES 4
atcodedog05
22 - Nova
22 - Nova

Hi @suby 

 

Here is how you can do it.

 

Workflow:

atcodedog05_0-1622025783269.png

1. Since we want to fill the whole category "Yes" is one of the C1 is "Yes". I am using summarize groupby category, max of C1 (Max gives highest descending value here Yes is higher than No)

2. Use join tool to join by category and C1 Fill column.

 

Hope this helps 🙂

shreyanshrathod
11 - Bolide

@suby ,

 

Not sure about your exact requirement, but this could help.

 

Regards,

Shreyansh Rathod

suby
11 - Bolide

Hi atcodedog05,

 

You're super hero thanks for your solution it works.

suby
11 - Bolide

Thanks for your solution it works.

Labels