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

Remove null rows and not considering the record ID

Balrajh1
5 - Atom

Hello,

 

 

I am trying to remove null rows and not considering the record ID, as you can see below,

 

from this

 

Balrajh1_4-1632513923448.png

 

 

 

 

to 

 

 

Balrajh1_3-1632513879183.png

 

 

Thanks in advanced for your help and support.

 

 

 

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @Balrajh1,

 

You need to use filter tool and this formula:

 

!IsNull([First Name]) OR !IsNull([Family Name]) OR !IsNull([age])

 

I have created a workflow for you!

Balrajh1
5 - Atom

What if I have 100 columns?

Luke_C
17 - Castor
17 - Castor

Hi @Balrajh1 

 

To make it dynamic for any number of columns, something like this would work:

 

  1. Transpose the data using the record ID as the key
  2. Summarize by Record ID & Cound of Non-null values
  3. Filter out records who have 0 as the count (indicating all records are null)
  4. Join these records back to the main dataset.

 

Luke_C_0-1632515870757.png

 

Labels