> ## Documentation Index
> Fetch the complete documentation index at: https://alphacastio.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Select Series

> Reduce a dataset to specific series — a variable combined with one set of entity values — and flatten them into named columns.

The **Select Series** step reduces a dataset down to the individual series you want. A *series* here is one variable paired with one combination of entity values — "Argentina + Consumer Price Index", for example.

## How series are enumerated

The step scans the dataset and builds the list of available series by crossing every non-entity variable with every distinct combination of entity values. Combinations with no data for that variable are left out, so the picker only shows series that actually exist.

## Configuration

<Frame>
  <img src="https://mintcdn.com/alphacastio/ttF_U-V9HDrmrPbo/images/steps/select-series-picker.png?fit=max&auto=format&n=ttF_U-V9HDrmrPbo&q=85&s=8f37cb1b1007699ada73257213c8ea07" alt="Select Series step showing the name mask and the enumerated series" width="1617" height="1111" data-path="images/steps/select-series-picker.png" />
</Frame>

| Field            | Description                                                                        |
| ---------------- | ---------------------------------------------------------------------------------- |
| Series           | The series to keep. Tick them individually, or use **Select all** / **Clear all**. |
| Series name mask | A template for naming the resulting columns.                                       |

Each entity column and the variable become filterable columns in the picker, so you can narrow a long list before selecting.

## Naming with a mask

The **series name mask** names every resulting column from a template, using the entity and variable names as placeholders. The default is:

```
{country} - {Variable}
```

which produces `Argentina - EMBI Global Diversified Subindices`. Edit the mask and press **Apply to all** to rename every selected series at once.

<Tip>
  Trim the mask to just `{country}` when every series is the same variable — the variable name in each column then becomes noise rather than information.
</Tip>

<Note>
  The output is flattened: entity columns disappear and each selected series becomes its own column keyed on date. This is close to what [Unstack](/steps/unstack-dataset) does, but driven by an explicit selection rather than by pivoting a whole column.
</Note>

<Tip>
  Leaving the selection empty passes the data through untouched, so you can add the step early and fill it in once you can see the available series.
</Tip>

## Next steps

<CardGroup cols={2}>
  <Card title="Filter Entity" icon="filter" href="/steps/filter-entity">
    Keep entity structure and filter by value instead.
  </Card>

  <Card title="Create a Chart" icon="chart-simple" href="/steps/chart-data">
    Chart the selected series.
  </Card>
</CardGroup>
