Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

FILTERING FOR ZERO VALUES

tomtingley
8 - Asteroid

Hi,

 

I'm looking to create an output where it shows any rows that have a zero in that row and removes any that have a full set of values.

 

E.G. imagine the first row has values of 54, 10, 23, 0, 4 - i would want this to show in the output because this has a zero.

Whereas a row of 1, 2, 3, 4, 5 - i wouldn't want to show because there is no zero value.

 

Hope this makes sense.

 

 

Thanks,

Tom

7 REPLIES 7
binuacs
21 - Polaris

@tomtingley One way of doing this

binuacs_0-1679498601736.png

 

tomtingley
8 - Asteroid

Thanks so much! @binuacs

 

Would you be able to do that for me on this data set? I get duplicate rows when I try.

I've highlighted the rows with zero values that I want to show in the output.

 

binuacs
21 - Polaris

@tomtingley I updated the workflow. Can you check the result and let me know how it looks

 

binuacs_4-1679501665933.png

 

tomtingley
8 - Asteroid

Amazing! Thanks so much 

RobertOdera
13 - Pulsar

Hi, @tomtingley 

 

Try this out.

I hope you find it helpful - cheers!

 

Based on your logic, the desired output is 15 rows (out of 21)...

 

RobertOdera_0-1679503066513.png

 

tomtingley
8 - Asteroid

Thanks a lot, this also works!!

RobertOdera
13 - Pulsar

You're most welcome @tomtingley 

@binuacs  solution is more efficient 😎

I wanted to give you a step-through - I appreciate your feedback 👍

Labels
Top Solution Authors