Hi Guys,
I need to remove a row with a certain condition
Input Like this:
xxxx | A01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
xxxx | A01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
xxxx | B01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
xxxx | C01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
xxxx | C01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
xxxx | D01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
And output like
xxxx | A01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
xxxx | A01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
xxxx | C01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
xxxx | C01 | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx | xxxx |
Because B01 and D01 only have 1 row so it will be removed. Is that possible to do that? Thanks guys.
Solved! Go to Solution.
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.