Alteryx Designer Desktop Discussions

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

Formula: If data in column B = 0, delete the row that data is in

Emma_c_857
6 - Meteoroid

Hello,

 

I have a data set looks like below (pls see the first table). is it possible to write something using formula and get me to the result ( pls see the second table). Thank you!

 

Nameitem Aitem_bITEM C
ABC_12309990
DEF_45600666
GHI_7898887770

 

 

Result

GHI_7898887770
6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @Emma_c_857 

 

is first 2 rows deleted because they have 2 values 0's whats the logic🤔

atcodedog05
22 - Nova
22 - Nova

Hi @Emma_c_857 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1629983224548.png

 

Hope this meets your requirement.

 

Hope this helps : )

mceleavey
17 - Castor
17 - Castor

Hi @Emma_c_857 ,

 

Like @atcodedog05  I'm not sure of the logic, but just assuming you want to remove records where the second column is zero then you can do the following:

 

mceleavey_0-1629983267190.png

 

A simple filter tool removing those records gives the following:

mceleavey_1-1629983287733.png

 

I've attached the workflow. If this is not the required logic can you let us know?

 

Hope this helps,

 

M.

 

 

 



Bulien

Emma_c_857
6 - Meteoroid

Hello, 

yes, that was the correct logic. Thank you!

Emma_c_857
6 - Meteoroid

Thank you!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Emma_c_857 

If the response helps please don't forget to mark it as solution.

Cheers and have a nice day!

Labels