# Grouping similar fields but with different parents

**URL:** <https://discuss.elastic.co/t/grouping-similar-fields-but-with-different-parents/371339>\
**Category:** Kibana\
**Created:** [December 2, 2024, 8:56pm UTC](https://discuss.elastic.co/t/grouping-similar-fields-but-with-different-parents/371339 "2024-12-02T20:56:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CalvinHobbes](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@CalvinHobbes](https://discuss.elastic.co/u/CalvinHobbes)\
**Post date:** [December 2, 2024, 8:56pm UTC](https://discuss.elastic.co/t/grouping-similar-fields-but-with-different-parents/371339/1 "2024-12-02T20:56:49Z")

</div>

I am trying to group similar fields but from different parents: Is this possible in Lens?

e.g. I have documents with:

- groupa.name
- groupb.name

Can I group on the field name which should then include values from the parents groupa and groupb ?
