# Add Column

In this document, you will explore how to add a column in Astera Dataprep.

1. To add a column, click *Layout* in the toolbar and select *Add Column.*

<figure><img src="/files/vLOP0tYEV1KIsQuMCdUo" alt=""><figcaption></figcaption></figure>

2. Once done, the *Recipe Configuration – Add Column* panel will open.

<img src="/files/Ivi6nJE3KnwKko8DGMJg" alt="" width="383">

3. In this panel, you can specify the *Name, Type, Header, Position,* and *Index.*

![](/files/8PsutCZ15GzgFNywdgT5)

* **Name:** The name of the new column.
* **Type:** The datatype of the new column to be added.
* **Header:** Specifies the column name when writing to a file.
* **Position:** Consists of various options to help specify where the new column should be added.
  * **Index:** Adds the column at the specified Index position.
  * **Start:** Adds a column to the start of the dataset.
  * **End:** Adds a column to the end of the dataset.
  * **Move Before:** Adds a column before a specified column in the dataset. Once selected, you must specify the column through the Reference drop-down.
  * **Move After:** Adds a column after a specified column in the dataset. Once selected, you must specify the column through the Reference drop-down.

<img src="/files/7T86tRQsShXkEMAIPUUp" alt="" width="372">

* **Value:** You can specify the expression that you want to be applied on the objects for the new column.
  * This can be done directly in the expression box, or you can open the *Expression Builder* by clicking ![](/files/c7uvYM2mPruaOhq7IJyR) next to the expression box.
  * Here, we have simply added 100 to our existing ‘*Freight*’ value.

![](/files/0wdfLXYWAVlpZOwj8Qoz)

4. Now, let’s select *Apply* ![](/files/10KTRq7DN4pST0pzbGYQ) to add this new column to our dataset.
5. Once done, you can see that the new column with your specified configurations has been added to the grid.

![](/files/PFvFYl5D0p9QmQAfhI8H)


---

# 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/dataprep/layout/add-column.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.
