# Apply To All Transformation

An ApplyToAll Transformation applies an 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.

![](/files/6ddBAGhV6hMyjCn1kTrX)

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

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.

![](/files/dKKo6FFQKjtCpg8J9LxB)

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.

![](/files/X7Cu0oM2baGotftFXcOD)

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


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
