Calling all Alteryx customers: Refer your colleague to try Alteryx and receive a $50 gift card. Sign up now!
Free Trial

Alteryx Designer Desktop Discussions

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

Find No. of fields per ID which are not filled?

Kavya132017
8 - Asteroid

Hi everyone,

 

I have a data which I get from the forms filled on a website. Few of the fields are marked as mandatory, but still are not filled for few forms. I have a list of columns which are mandatory, and which are not.

 

The reporting requirement here is:

1)to show how many of the mandatory/optional fields are filled and how many are left empty in each column?

2) No. of  filled & unfilled fields per each ID divided by mandatory or optional.

 

Attaching the sample data and expected outcome.

 

Any help is appreciated. Thank you

 

Input Data:

IDNameGenderDOBEmailPhoneStateCountry
1JakeF8ab@gmail.com9832133213TXUS
2JohnM9bc@gmail.com9832133214TXUS
3MiloM10cb@gmail.com9832133215TXUS
4BenM11wdb@gmail.com9832133216TXUS
5ZackF12abds@gmail.com US
6Doug 13adfb@gmail.com9832133218 US
7  14adaxb@gmail.com9832133219 US
8BobM15axfdwb@gmail.com9832133220TXUS
9TinaF16dddab@gmail.com9832133221TXUS
 

Lookup sheet:

FieldMandatory
IDY
NameY
GenderN
EmailY
DOBN
StateY
CountryN
PhoneY

 

Expected Outcome:

IDMandatory FilledMandatory UnfilledOptional FilledOptional UnFilled
14 3 
24 3 
34 3 
44 3 
5313 
63121
72221
84 3 
94 3 
103121
103121
6 REPLIES 6
binuacs
21 - Polaris

@Kavya132017 one way of doing this with the batch macro

image.png

nagakavyasri
12 - Quasar
caltang
17 - Castor
17 - Castor

Like so?

 

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

Mine is including "ID" as a field count, so you will have 5 and not 4. But if you do not want "ID" to be counted, you can also use this:

image.png

 

Untick the field "ID" and you will get the result below:

 

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Kavya132017
8 - Asteroid

@nagakavyasri , My IDs in the original data are not in sequence. They are contract IDs randomly generated. 

example: Id- 4453, 5643,3553,9584

grazitti_sapna
17 - Castor

Hi@Kavya132017 

I have made Workflow for your Problem. Please Check.

If it works Kindly accept it as Solution.

Thanks

Sapna Gupta
Labels
Top Solution Authors