Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

ALTERYX ADD NEW COUNTER COLUMN

sanjit11
7 - Meteor

PFA the attached data.

I want to generate the counter column marked in red.

if someone could assist that would be great!!

thanks

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @sanjit11 

 

If you can explain the logic behind the counter column we will be happy to help you out 🙂

sanjit11
7 - Meteor

So Basically ,

Each component name has a fixed set of criterias.

For each function name a component with its set of criterias can occur only once.

But as you can see in rows 14 to 19,

For "XYZ" , "Checks" with its criterias "G H and I" has occurred twice

so the counter there is 2

 

I hope this makes sense 🙂

 

 

sanjit11
7 - Meteor
atcodedog05
22 - Nova
22 - Nova

Hi @sanjit11 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1631775837216.png

 

1. Using summarize groupby on Functional Team, Component/Survey Name and Criteria. And get count of avg score (can be any column).

2. Using join tool with key Functional Team, Component/Survey Name, and Criteria to join it back to the data.

 

Hope this helps : )

sanjit11
7 - Meteor

@atcodedog05 thts great, thanks a TON!!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @sanjit11 

Cheers and have a nice day!

Labels