# \[Interface Table Filters\] - Add If statements to the filters tab

**URL:** <https://forums.knack.com/t/interface-table-filters-add-if-statements-to-the-filters-tab/5598>\
**Category:** Feature Requests\
**Tags:** calendars\
**Created:** [February 24, 2015, 12:55am UTC](https://forums.knack.com/t/interface-table-filters-add-if-statements-to-the-filters-tab/5598 "2015-02-24T00:55:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swlaukat39658](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Swlaukat39658](https://forums.knack.com/u/Swlaukat39658)\
**Post date:** [February 24, 2015, 12:55am UTC](https://forums.knack.com/t/interface-table-filters-add-if-statements-to-the-filters-tab/5598/1 "2015-02-24T00:55:00Z")

</div>

So in addition to filtering data that is displayed in the tables, you can add logic to filters.

Example, green and red records can be created in calendars.

If a green and a red record exists on the same day:

Don't display records in the interface table.

If only green records exists on selected days:

Display records in the interface table.

If only red records exist on selected days:

Don't display records in the interface table.

---

<div class="post-metadata">

**Author:** ![Jessie](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/jessie/32/5_2.png) [@Jessie](https://forums.knack.com/u/Jessie)\
**Post date:** [July 15, 2021, 8:03pm UTC](https://forums.knack.com/t/interface-table-filters-add-if-statements-to-the-filters-tab/5598/2 "2021-07-15T20:03:18Z")

</div>


