# can we filter out the rows whose ID is in both the tables?

**URL:** <https://forum.knime.com/t/can-we-filter-out-the-rows-whose-id-is-in-both-the-tables/28854>\
**Category:** KNIME Analytics Platform\
**Created:** [November 19, 2020, 12:38pm UTC](https://forum.knime.com/t/can-we-filter-out-the-rows-whose-id-is-in-both-the-tables/28854 "2020-11-19T12:38:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PankajChaudhary](https://forum-cdn.knime.com/user_avatar/forum.knime.com/pankajchaudhary/32/18275_2.png) [@PankajChaudhary](https://forum.knime.com/u/PankajChaudhary)\
**Post date:** [November 19, 2020, 12:38pm UTC](https://forum.knime.com/t/can-we-filter-out-the-rows-whose-id-is-in-both-the-tables/28854/1 "2020-11-19T12:38:32Z")

</div>

I have two tables that have the same type of data.  
I need to filter out the Data rows on the basis of ID which presents in both tables.

---

<div class="post-metadata">

**Author:** ![oole](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/o/d26b3c/32.png) [@oole](https://forum.knime.com/u/oole)\
**Post date:** [November 19, 2020, 12:42pm UTC](https://forum.knime.com/t/can-we-filter-out-the-rows-whose-id-is-in-both-the-tables/28854/2 "2020-11-19T12:42:44Z")

</div>

Hi @PankajChaudhary

I think the [Reference Row Filter](https://kni.me/n/LKxrCJihG46anH0Q) might to what you’re looking for.

> **[Reference Row Filter](https://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.preproc.filter.rowref.RowFilterRefNodeFactory)**
>
> This node allows rows to be filtered from the first table using the second table as reference. Depending on the dialog setting, the rows from the reference tab…

---

<div class="post-metadata">

**Author:** ![PankajChaudhary](https://forum-cdn.knime.com/user_avatar/forum.knime.com/pankajchaudhary/32/18275_2.png) [@PankajChaudhary](https://forum.knime.com/u/PankajChaudhary)\
**Post date:** [November 19, 2020, 1:07pm UTC](https://forum.knime.com/t/can-we-filter-out-the-rows-whose-id-is-in-both-the-tables/28854/3 "2020-11-19T13:07:18Z")

</div>

Got the Answer  
The [Joiner Node](https://kni.me/n/ZgYyOm1P9VJVBE9e) with inner join has worked in this scenario.

> **[Joiner](https://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.preproc.joiner.Joiner2NodeFactory)**
>
> This node joins two tables in a database-like way. The join is based on the joining columns of both tables.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [November 26, 2020, 1:07pm UTC](https://forum.knime.com/t/can-we-filter-out-the-rows-whose-id-is-in-both-the-tables/28854/4 "2020-11-26T13:07:21Z")

</div>

Closed on November 26, 2020, 1:07pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
