# Report to identify persons who are not direct ancestors

**URL:** <https://gramps.discourse.group/t/report-to-identify-persons-who-are-not-direct-ancestors/3341>\
**Category:** Help\
**Created:** [March 6, 2023, 3:46pm UTC](https://gramps.discourse.group/t/report-to-identify-persons-who-are-not-direct-ancestors/3341 "2023-03-06T15:46:30Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [March 9, 2023, 6:57pm UTC](https://gramps.discourse.group/t/report-to-identify-persons-who-are-not-direct-ancestors/3341/21 "2023-03-09T18:57:50Z")

</div>

> [@DaveSch](#):
>
> Curious, I went into the Family view. There is no filter looking at the number of children in the family.

You could try that SuperTool filter (to put in the Rule field) if you want:

If you want them with a marriage record:

```python
father and mother and len([event for event in events if event.type == "Marriage"]) != 0 and reltype == "Married" and len(children) == 0

```

If you don’t:

```python
father and mother and len(children) == 0

```

You can change the number of children as you want: == 1, \>= 1, \< 4, etc…

I also have this regular filter to check if a family have children (or not if you reverse the results):

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/a/aaf98e967da1c6eeb8e5e229544dfb230edf99c7.png)

---

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [March 11, 2023, 11:50pm UTC](https://gramps.discourse.group/t/report-to-identify-persons-who-are-not-direct-ancestors/3341/22 "2023-03-11T23:50:50Z")

</div>

> [@DaveSch](#):
>
> Curious, I went into the Family view. There is no filter looking at the number of children in the family.

But, you can turn off the Sidebar filters in the View menu, such that they now appear at the top, where you can select “Number of Children contains” and enter 0. However, since it’s a text search, it will also return families with 10 (or 20, or 30, …) children.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [March 12, 2023, 12:51am UTC](https://gramps.discourse.group/t/report-to-identify-persons-who-are-not-direct-ancestors/3341/23 "2023-03-12T00:51:32Z")

</div>

> [@GeorgeWilmes](#):
>
> But, you can turn off the Sidebar filters in the View menu, such that they now appear at the top, where you can select “Number of Children contains” and enter 0. However, since it’s a text search, it will also return families with 10 (or 20, or 30, …) children.

In case others are wondering, the Number of Children column is a part of the People/Group People views and not the Families view. Which I again find curious.

I forgot that those "Number… " columns were there. I have never used them. I just use the Relative gramplet in the bottom bar for other family members.

But I renew my major complaint with this method. The first person that returns as valid for this method was my mother’s sister who lived 1 day. While she in fact never had children, I do not know how that could be of any use.

I leave it to @n88yanks to determine what meets his needs.

---

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [March 12, 2023, 1:41pm UTC](https://gramps.discourse.group/t/report-to-identify-persons-who-are-not-direct-ancestors/3341/24 "2023-03-12T13:41:25Z")

</div>

> [@DaveSch](#):
>
> In case others are wondering, the Number of Children column is a part of the People/Group People views and not the Families view. Which I again find curious

Actually, I hacked my copy of the Families view to include Number of Children and forgot that it was my own customization. I started adding columns to several views, and then decided it would be better to create new views as addons that could be shared, but I haven’t progressed much further on that yet.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [April 11, 2023, 1:41pm UTC](https://gramps.discourse.group/t/report-to-identify-persons-who-are-not-direct-ancestors/3341/25 "2023-04-11T13:41:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://gramps.discourse.group/t/report-to-identify-persons-who-are-not-direct-ancestors/3341.md?page=1)
