Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

how to remove a row with certain condition

luo
8 - Asteroid

Hi Guys,

I need to remove a row with a certain condition

Input Like this: 

xxxxA01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxA01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxB01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxC01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxC01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxD01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

And output like

xxxxA01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxA01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxC01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxC01xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

Because B01 and D01 only have 1 row so it will be removed. Is that possible to do that? Thanks guys. 

1 REPLY 1
grazitti_sapna
17 - Castor

Hi @luo ,

 

If you only want to remove the specific rows, "B01" and "D01", then you can use the Filter tool to do so, but If the requirement is to remove the records which are having single values then you can use the workflow as I have Developed. Please find attached screenshots for your reference.

 

In this Worflow we will first use summarize to count the records grouping by them on this column("A01","B01"), then we will filter out the records having count>1 and then we can join it with the main input to get the desired results.

 

I hope this helps.

 

Sapna Gupta
Labels