Free Trial

Alteryx Designer Desktop Discussions

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

Detection of null values in multiple columns

Chaoued
7 - Meteor

I have several columns and I wanted to restore only the columns that had at least one null value, preferably without transposing the table because it is large (if there is an optimal solution on the perfermance side).

2 REPLIES 2
Deano478
12 - Quasar

@Chaoued can you share some sample data as its hard to just visualise this ?

OllieClarke
15 - Aurora
15 - Aurora

Hi @Chaoued 

 

If your columns aren't changing, then this approach will work without pivoting

 

You can CountNulls in the summarise tool, so you can inspect that,
image.png
or if you want it to be more dynamic, then we can use those fields to dynamically select just the columns which contain at least 1 null
image.png

The summarize tool isn't dynamic, but everything downstream is.

 

N.B. I used the generate rows to make my data big; I'd suggest reducing the number it's generating if you want to test, as 400m rows is probably a bit overkill.

 

Hope that helps,

Ollie

Labels
Top Solution Authors