---
url: /set-instructions/insert-element-from-title.md
description: >-
  Inserts the element currently in context for a named dimension into the
  working set.
---

# Insert Element From Title

Adds whichever element is currently in context for a named dimension, rather than a fixed element picked from the hierarchy explorer. The standard instruction for building a set that responds to context instead of hardcoding a specific selection.

#### Example

```
1. Insert Element From Title: Department
2. Expand
```

In a Card, this reads whatever the Card's `Department` context currently is and expands its children - if the context is `All Departments`, the set shows every department; if a Selectable or click-to-drill action has narrowed it, the set follows. See [Common Patterns](/set-instructions/common-patterns#pattern-3-context-driven-dynamic-sets-in-cards) for the full pattern, and [Insert Using Formula](/set-instructions/insert-using-formula) for the same idea with added conditional logic.
