# Include empty nested fields in aggregation

**URL:** <https://discuss.elastic.co/t/include-empty-nested-fields-in-aggregation/288003>\
**Category:** Elasticsearch\
**Created:** [October 29, 2021, 1:31pm UTC](https://discuss.elastic.co/t/include-empty-nested-fields-in-aggregation/288003 "2021-10-29T13:31:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Calin\_Blaga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/calin_blaga/32/96516_2.png) [@Calin\_Blaga](https://discuss.elastic.co/u/Calin_Blaga)\
**Post date:** [November 1, 2021, 8:13am UTC](https://discuss.elastic.co/t/include-empty-nested-fields-in-aggregation/288003/2 "2021-11-01T08:13:52Z")

</div>

Looks like it has been asked already but no answer [How to aggregate nested fields with null values? - #2 by Doronpt](https://discuss.elastic.co/t/how-to-aggregate-nested-fields-with-null-values/199536/2)

---

_[View the full topic](https://discuss.elastic.co/t/include-empty-nested-fields-in-aggregation/288003)._
