Start Free Trial

Alteryx Designer Desktop Discussions

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

How do I count number of entries across multiple fields?

benmillea
8 - Asteroid

Please see screenshot - is there a way for me to sum up how many "Y" entries there are for each Machine Id? What I need is a "Total" column at the end which will be populated with the number of "Y" entries through the week:

 

Machine IdTotal
254
261
273
284

 

 

Thank you

 

5 REPLIES 5
binu_acs
21 - Polaris

@benmillea Transpose your data (Machine id as the key column)- filter out only Y values, summarise tool group by Machine ID, count of value

Qiu
21 - Polaris
21 - Polaris

@benmillea 
I can think of a few ways of doing it including the one from @binu_acs 😂

0609-benmillea.jpg

atcodedog05
22 - Nova
22 - Nova

Hi @benmillea,

 

I also wanted to throw my solution into the hat😁. I am using a shorter version of IF statement to write my logic.

 

Weekdays-Img.png

 

Cheers and Happy Analyzing :)

atcodedog05 

benmillea
8 - Asteroid

Many thanks, everyone. Much appreciated 😊

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @benmillea 

Cheers and have a nice day!

Labels
Top Solution Authors