Alteryx Designer Desktop Discussions

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

Group By and count Problem

sanjit11
7 - Meteor

SAMPLE.jpg

 

 

 

 

 

 

 

 

I am trying to achieve the above result. The left one is the input and the output is on the right. Can someone help out

Thanks.

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @sanjit11 

 

You can achieve this using crosstab tool.

 

Workflow:

atcodedog05_0-1625490038602.png

1. Creating a column count and setting values as 1.

2. Using crosstab tool with ID as key, Animal as Name and Count as values getting count table.

3. Using data cleaning tool to add 0's in place of nulls.

 

Hope this helps 🙂

 

sanjit11
7 - Meteor

Thanks alot atcodedog05 !

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels