# Hide Entity When Attached to a Specific Database?

**URL:** <https://community.fibery.io/t/hide-entity-when-attached-to-a-specific-database/8478>\
**Category:** Get Help\
**Created:** [March 20, 2025, 3:32am UTC](https://community.fibery.io/t/hide-entity-when-attached-to-a-specific-database/8478 "2025-03-20T03:32:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/edan/32/11187_2.png) [@Edan](https://community.fibery.io/u/Edan)\
**Post date:** [March 20, 2025, 3:32am UTC](https://community.fibery.io/t/hide-entity-when-attached-to-a-specific-database/8478/1 "2025-03-20T03:32:53Z")

</div>

I have a Notes database linked to multiple databases, from sales items to development work. These Notes are surfaced in our Home Space.

Is there a way to hide a Note if it’s attached to an Opportunity from the CRM Sales Space?

 ![CleanShot 2025-03-19 at 23.25.23@2x](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/5/583d0f4e1b94f1d41619cdb9243891536e61e2f5.png)

---

<div class="post-metadata">

**Author:** ![Michael\_Ichter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/michael_ichter/32/9931_2.png) [@Michael\_Ichter](https://community.fibery.io/u/Michael_Ichter)\
**Post date:** [March 20, 2025, 5:43am UTC](https://community.fibery.io/t/hide-entity-when-attached-to-a-specific-database/8478/2 "2025-03-20T05:43:03Z")

</div>

Filters were recently changed so that it can be based off of a field within a related entity.

 ![view filter options with database relation option highlighted](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/7/7c0f97f182cbbf23de8de26ba20de40da233c705.png)

So you could do something like have a field with a value set for Opportunities within the CRM Sales Space (you could even include this field value in the filters of views within that Space so that whenever an Opportunity is created in that view, the appropriate field value is automatically set).

Then in the Notes view you showed in your post, set a filter with Opportunity \> (arrow to see Opportunity fields \> your desired field. I believe this would accomplish what you’re wanting, if I’m understanding the issue correctly.
