Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Counting number of occurrences for each date

Steve1
5 - Atom

Hello,

 

Along with other data, I have two columns in a workflow that I'm working with. One of them has dates, and the other one has different error messages. Some dates have a single error, so they only appear once in the dates column. Other dates have many different errors, so they appear multiple times in the dates column. I'm trying to count the number of each different kind of error for each date. What would be the best tool to approach this with?

 

Thanks

2 REPLIES 2
patrick_digan
17 - Castor
17 - Castor
Try the summarize tool. You can group by your date and error field, and then count your error field.

If that doesn't do the trick, you may want to provide a few sample lines of data and the desired output
danrh
13 - Pulsar

Adding another option here, depending on how you need the data formatted:

image.png

If you add a "Cnt" field, you can use the Cross Tab tool to get the errors as separate columns.

 

image.png

Labels
Top Solution Authors