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

Outputting the % of Null values in a column

Deano478
12 - Quasar

Hi all,

 

I'm working on a rather interesting use case at the moment and something I need to as part of this is output the % of Null values in a few columns.

 

I'm just wondering is there way to do this in Alteryx I have tried a few things but luck as of yet so any help is much appreciated.

 

Many thanks,

 

Dean

1 REPLY 1
DataNath
17 - Castor
17 - Castor

Hey @Deano478, 2 approaches immediately come to mind here - one is more manual whilst the other is 'out the box'.

 

1) As you mention having multiple fields, first Transpose your data and then group by the [Name] field, using the 'Count' and 'Count Null' aggregations on [Value] and then you can just work out the percentage in a Formula tool:

 

Null % formula.png

 

2) Use the Field Summary tool which calculates this as standard under the '% missing' field. The 'O' output anchor gives a reporting output which you can then Output via the Render tool (showing the result in a Browse tool for the sake of demonstration).

 

Null % fs.png

Labels
Top Solution Authors