> For the complete documentation index, see [llms.txt](https://documentation.astera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.astera.com/astera-data-stack-v6/dataflows/transformations/apply-to-all-transformation.md).

# Apply To All Transformation

An ApplyToAll Transformation applies an [Expression Transformation](https://documentation.astera.com/v/astera-data-stack-v6/dataflows/transformations/expression-transformation) to all mapped elements. This transformation is useful when applying a common Expression Transformation to all data without the need to build multiple Expression Transformations.

## **Steps**

To use an ApplyToAll transformation, drag and drop the *ApplyToAll* from the *Transform* Group in the Flow toolbox to the flow designer.

![](https://3768133094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH4WCHHphSt0ALtMJlqot%2Fuploads%2F7ZXa1GZxFhC03XweRFpt%2F0.png?alt=media)

Map all the data to the *ApplyToAll* transformation created on the flow designer. These are all the data for a common expression that will be applied.

The properties window is also where the expression to be applied is specified. A parameter called *$FieldValue* will be available for an expression to be applied to. This will represent all of the data that was mapped to the ApplyToAll transformation.

## **Sample**

In this example, we are going to apply an Expression transformation to two string fields to convert them into lowercase values.

![](https://3768133094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH4WCHHphSt0ALtMJlqot%2Fuploads%2FqaODkqOk0BHHuVwU3b07%2F1.png?alt=media)

The properties for ApplyToAll will give you the option to add an expression to a *$FieldValue* parameter. This will apply the expression to all of the mapped elements on the transformation.

![](https://3768133094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH4WCHHphSt0ALtMJlqot%2Fuploads%2FQb7HsmNhBNg7K3hpPcia%2F2.png?alt=media)

The ApplyToAll transformation takes the *MaritalStatus* and *Gender* field parameters and transforms them into lowercase values.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.astera.com/astera-data-stack-v6/dataflows/transformations/apply-to-all-transformation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
