# Reference to "This Entity" undefined in formula

**URL:** <https://community.fibery.io/t/reference-to-this-entity-undefined-in-formula/10016>\
**Category:** Get Help\
**Created:** [November 14, 2025, 10:23pm UTC](https://community.fibery.io/t/reference-to-this-entity-undefined-in-formula/10016 "2025-11-14T22:23:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabian](https://avatars.discourse-cdn.com/v4/letter/f/f6c823/32.png) [@Fabian](https://community.fibery.io/u/Fabian)\
**Post date:** [November 14, 2025, 10:23pm UTC](https://community.fibery.io/t/reference-to-this-entity-undefined-in-formula/10016/1 "2025-11-14T22:23:30Z")

</div>

I have recursive hierarchy and want to show the root entity. As maybe in

```auto
If(
  IsEmpty([Parent Module]),
  [This Module],
  [Parent Module].Root
)

```

but [This Module] does not work to begin with. What am I doing wrong?

 ![Screenshot 2025-11-14 at 23.15.02](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/f/fa836d8689e0e26e609554b8c9305f835d5938b1.png)

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [November 15, 2025, 12:20am UTC](https://community.fibery.io/t/reference-to-this-entity-undefined-in-formula/10016/2 "2025-11-15T00:20:09Z")

</div>

There is no such use of [This Module] in formulas

It can only be used within a filter function, e.g. Tasks.Filter(Effort \> [This Module].Score)

---

<div class="post-metadata">

**Author:** ![RonMakesSystems](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/ronmakessystems/32/14122_2.png) [@RonMakesSystems](https://community.fibery.io/u/RonMakesSystems)\
**Post date:** [November 15, 2025, 12:51pm UTC](https://community.fibery.io/t/reference-to-this-entity-undefined-in-formula/10016/3 "2025-11-15T12:51:07Z")

</div>

As a work around is to add a relation with autolinking based on public ID. Then the relation will just return its own entity. Can be a one to one. It’s a bit weird because it makes two relations that are identical, but it works!
