---
url: /set-instructions/expand-all.md
description: Expands all elements in the working set down to the most expanded level
---

# Expand All

Adds every descendant of every element currently in the working list, all the way down to the leaves - not just the immediate children like [Expand](/set-instructions/expand). Each level is indented one more than the level above.

#### Example

```
1. Element: All Products
2. Expand All
```

This expands `All Products` down through every brand and every individual product - every level of the hierarchy, not just the immediate children. From here, [Remove Consolidations](/set-instructions/remove-consolidations) is the usual next step to strip the parent rows and leave a flat list of leaves, or [Collapse Next Instruction](/set-instructions/collapse-next-instruction) to fold a single branch back down. See [Common Patterns](/set-instructions/common-patterns#pattern-2-descendants-only-total-at-the-bottom) for the full descendants-with-total-at-bottom pattern.

![Expand All applied to All Products, showing the working set before and after](/set-instructions-example-expand-all.svg)
