# Formula 'Generate using AI' keeps on using 'null'

**URL:** <https://community.fibery.io/t/formula-generate-using-ai-keeps-on-using-null/9314>\
**Category:** Bugs & Issues\
**Tags:** automations, formulas, ai\
**Created:** [July 31, 2025, 11:39am UTC](https://community.fibery.io/t/formula-generate-using-ai-keeps-on-using-null/9314 "2025-07-31T11:39:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danielbmarsh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/danielbmarsh/32/13104_2.png) [@danielbmarsh](https://community.fibery.io/u/danielbmarsh)\
**Post date:** [August 1, 2025, 10:44am UTC](https://community.fibery.io/t/formula-generate-using-ai-keeps-on-using-null/9314/2 "2025-08-01T10:44:10Z")

</div>

See even AI wants the ability to set “Null”

> [@Allow to return an empty value from a formula](https://community.fibery.io/t/allow-to-return-an-empty-value-from-a-formula/2983):
>
> Sometimes, when using a formula field that returns a single entity, the user might want to return an empty value (meaning no entity). For example, if (X is true return entity Y, else return nothing) There is a workaround for this, which is taking a collection of entities of the type returned and applying to it Collection.Filter(true = false).Sort(Some Field).First() which returns the first entity in an empty list (which is an empty value), but this is rather awkward.

---

_[View the full topic](https://community.fibery.io/t/formula-generate-using-ai-keeps-on-using-null/9314)._
