Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Count of Columns that contain a word

Clandmann
5 - Atom

Hello!

 

I am trying to create a new column of data that counts the number of times other columns of data, in the same row, contain a certain word.

 

In this example, I want to know the number of columns that contain the word "Completed" for each user.

 

Clandmann_0-1605884886385.png

 

I have been stuck on this for a while so thank you all for the help in advance! 

 

2 REPLIES 2
OllieClarke
16 - Nebula
16 - Nebula

Hey @Clandmann 

Have a go with this solution:

OllieClarke_0-1605885731658.png

If you use the transpose tool, you can then count the number of columns which contain 'completed' per row

 

Hope that helps,

 

Ollie

 

Clandmann
5 - Atom

This works like a charm! Thank you for the help.

Labels
Top Solution Authors