Alteryx Designer Desktop Discussions

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

removing empty rows in a more efficient way

AbdulBasit
8 - Asteroid

Hi there i was wondering if there is a more efficient way of removing empty data than this.

11 REPLIES 11
PhilipMannering
16 - Nebula
16 - Nebula

Hi @AbdulBasit 

 

Yes, you can remove rows that have nulls in any column using the following method,

PhilipMannering_0-1607085704711.png

 

estherb47
15 - Aurora
15 - Aurora

Hi @AbdulBasit 

 

While you could put a custom filter that combines all of the empties that you want to find, this way is actually more efficient. Every time you filter, you're making a smaller dataset. So the next filter will run faster and so on.

 

Let me know if that helps

 

Cheers!

Esther

estherb47
15 - Aurora
15 - Aurora

@PhilipMannering , nice!! Did you check speed on both approaches?

PhilipMannering
16 - Nebula
16 - Nebula

@estherb47 Errrrrrr... that's a negative. .No doubt using a single filter is quicker. When we talk about efficiency though are we talking runtime or time to configure as many filters as there are columns? Only @AbdulBasit  knows.

DavidP
17 - Castor
17 - Castor

Hi @AbdulBasit 

 

The advantage of the IsEmpty() statement in filters is that it checks for both nulls and empty cells (that are not null).

 

If your cells are definitely null, you can use the feature in Alteryx versions 2020.2 and newer in the Data Cleanse tool to remove null rows. I haven't checked if it also works for empty rows.

 

DavidP_0-1607086345326.png

 

AbdulBasit
8 - Asteroid

for a data set having to many columns this is more efficient other wise the canvas would get messy and if we have 50 colums lets say it would not be a good idea to add 50 filters.

AbdulBasit
8 - Asteroid

for a data set having 50 colums i think this would be efficient. Tell me if we have 50 columns and we want to remove nulls from them will this method work without adding any other tool.

AbdulBasit
8 - Asteroid

Can you show me the way.

atcodedog05
22 - Nova
22 - Nova

@AbdulBasit 

 

@PhilipMannering workflow should work for n (even 50) columns.

Labels
Top Solution Authors