ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

how to remove a row with certain condition

luo
Astéroïde

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 RÉPONSE 1

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
Étiquettes
Auteurs des meilleures solutions