Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Table count

Tommy23
7 - Meteor

Hello,

 

I have this table and I would like to count the number of  time for each row its wrote Alerted. I have try to group By using the tool summarize or create a formula (IF THEN  ELSE IF)

 

 

 

NameSanctionCorruptionPEP
Client 1AlertedAlertedNot Alerted
Client 2AlertedNot AlertedAlerted
Client 3Not AlertedNot AlertedAlerted

 

Results:

 

NameSanctionCorruptionPEPNumber of Alerted
Client 1AlertedAlertedNot Alerted2
Client 2AlertedNot AlertedAlerted2
Client 3Not AlertedNot AlertedAlerted1

 

Thanks in advance for your help!

 

 

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

Hey @Tommy23, how does this look?

 

DataNath_0-1678101718459.png

 

The workflow:

 

1) Transposes the data so that all fields merge into one

2) Filters for the field value = Alerted

3) Performs a count grouped by name

4) Re-joins to the main data set

Tommy23
7 - Meteor

Thanks a lot it's work perfectly!!

Labels