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

4 columns data is null or no data those records fail and remaining pass.

Nagaraju_kanna
8 - Asteroid

Hi,

 

If below columns data is null or no data those records fail and remaining pass.
EMP
NAME
Employer
Occupation

 

Nagaraju_kanna_0-1634608678925.pngNagaraju_kanna_1-1634608691940.png

 

Expected Output

Total record 8

pass records with data

fail records with data

4 REPLIES 4
Nagaraju_kanna
8 - Asteroid

If below columns data is null or no data those records fail and remaining pass.
EMP
NAME
Employer
Occupation

Peachyco
11 - Bolide

If I understand you correctly, you want a pass/fail flag if any of those specific fields are null.

 

Your formula would be:

IF IsNull([EMP]) OR IsNull([NAME]) OR IsNull([Employer]) OR IsNull([Occupation])
THEN 'Fail'
ELSE 'Pass'
ENDIF

 

Untitled.png

Nagaraju_kanna
8 - Asteroid

Thank You..

Nagaraju_kanna
8 - Asteroid

Hi Peachyco,

 

Thanks for resolved my previous one.

 

Now requirement is BLANK columns are Prefix, PHONE, Mailname and HomeAddress1 should pass

 

these columns also need to mention in single query like 

 

IF IsNull([EMP]) OR IsNull([NAME]) OR IsNull([Employer]) OR IsNull([Occupation]) or
IsnotNull([Prefix]) OR IsnotNull([PHONE]) OR IsnotNull([Mailname]) OR IsnotNull([HomeAddress])
THEN 'Fail'
ELSE 'Pass'
ENDIF

 

please resolve my query

Labels