# Filter to get the ascending tree

**URL:** <https://gramps.discourse.group/t/filter-to-get-the-ascending-tree/7259>\
**Category:** Help\
**Created:** [March 16, 2025, 7:17pm UTC](https://gramps.discourse.group/t/filter-to-get-the-ascending-tree/7259 "2025-03-16T19:17:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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 16, 2025, 10:16pm UTC](https://gramps.discourse.group/t/filter-to-get-the-ascending-tree/7259/6 "2025-03-16T22:16:16Z")

</div>

It is even easier than that.

In the People custom Filters…

`Ancestral filters >> Ancestors of <person>`  
Check the box to **Include selected Gramps ID**

> [@Bouscram](#):
>
> All the people connected (siblings, spouses, descendants…)

If you want all the Descendants (and their Spouses) the second filter is

`Descendant Filters >> Descendant family members of <filter> match`

> [@Bouscram](#):
>
> …except the descendants of the selected person) to these ascendents

To exclude this branch, you need to find the people to exclude.

`Descendant Filters >> Descendant family members of <person>`  
Check the box to **Include selected Gramps ID** if you want the selected person excluded from the final results but if you want them included, but not their family, leave the box unchecked.

For this filter you want everybody except the people in the filter, check the **Return values that do not match the filter rules** in the Define filter window.

And as a final filter, the filter you will actually run, you want to combine filter 2 and filter 3

`General filers >> People matching the <filter>` filter 2  
`General filers >> People matching the <filter>` filter 3

In the Define filter window, leave the Option set to **All rules must apply**.

---

_[View the full topic](https://gramps.discourse.group/t/filter-to-get-the-ascending-tree/7259)._
