# Configure writeback destinations

You can set up **Writeback** destinations for databases, data warehouses, data lakes, files, and webhook URLs. Use writeback destinations to save data using **Writeback** and load it to the **Writeback** table in the target system.

Plan supports the following destination type:

* Fabric SQL

Go to **Writeback >** **Settings > Destination > Add Destination** to view and configure available destinations.

### Add destination

Before you start writeback, add one or more destinations where your data table will be exported.

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

### Create a new connection

In the **Create Destination** dialog, select **+ New** next to **Select a Connection** to create a new connection, or choose dropdown to select an existing connection.

<figure><img src="/files/5n8DCSUIZ2QtB5O1Vahx" alt="" width="375"><figcaption></figcaption></figure>

### Configure the destination

After selecting the connection, provide the required details:

* **Database Name**: Select the target database.
  * **Select the destination database:** In the **Select destination database** dialog, browse and select the required database from the **OneLake catalog.**
  * For example, select **My\_Planning\_DB** from the list of available databases.

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

### Generic destination settings

#### 1. Configure column settings

You can define how numeric and text data is written back to the destination.

* Set decimal precision
  * Use **Decimal Precision** to define the number of digits after the decimal point for numeric values. This setting applies to all destinations in the report.

{% hint style="info" %}
Plan supports up to 10 decimal digits. Values are rounded based on the configured precision during writeback.
{% endhint %}

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

When you apply the decimal precision shown in the image above, Plan writes back values (in this example, to Fabric SQL) rounded off to 5 decimal places.

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

* Set text length
  * Use **Text Length** to control the maximum number of characters written back for text fields. By default, the limit is 512 characters, or you can allow the maximum supported by the destination.

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


---

# 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://docs.fabricplan.com/planning-sheets/how-tos/persist-planning-data-using-writeback/configure-writeback-destinations.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.
