# Advanced Settings

### 1. Writeback column validation

In the advanced settings tab, you can enforce constraints on the data being written back. You can either use a formula to evaluate the data or use a null check.

#### 1.1. Cannot be empty

Only the cells that are not null for the specified field will be written back to the destination.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fj9qQ0wH8seTfBKO8Dpu7%2Fimage.png?alt=media&#x26;token=04d4f21d-309b-41f2-9989-55a626ba50a2" alt=""><figcaption><p>Cannot be empty option</p></figcaption></figure>

**1.2. Enter formula**

You can specify a formula that should evaluate to true for the cells to be written back. The cells that do not satisfy the validation rule will be excluded during writeback.&#x20;

In the sample report, for the Cumulative Revenue measure, notice how only the data cells with values greater than 500 million were written back.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FS8XDyT5U5ZMSX0g691fs%2Fimage.png?alt=media&#x26;token=dc50cacc-d89a-4da5-b169-873d75f52677" alt=""><figcaption><p>Cumulative revenue &#x3C; 500m not written back</p></figcaption></figure>

With this option, you can also apply cross-filters. Let's use the same validation rule, but this time in the Sum of COGS measure. The COGS cells that don't meet the cumulative revenue condition will not be written back.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FO3uKTiwLtQPYIzaSJvf5%2Fimage.png?alt=media&#x26;token=59a7bd8c-e2d7-475a-84fe-62cf02579770" alt=""><figcaption><p>COGS cells are excluded from writeback when Cumulative Revenue &#x3C; 500m</p></figcaption></figure>

Whenever a writeback is triggered, Inforiver will display a preview of the excluded cells.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F8fkvdrKCRUvoOrXAU4zD%2Fimage.png?alt=media&#x26;token=e8f23397-cff7-4aad-b72a-3712c334eb15" alt=""><figcaption><p>Preview of excluded data</p></figcaption></figure>

**1.3. Prevent writeback when validation fails**

Turn on the **Prevent writeback when validation fails** toggle to stop writeback when empty fields are detected.&#x20;

An exception notification is generated during writeback that gives details of empty measures/columns or rows that do not meet the validation condition.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fz10eWdr9mWJo0rcJp23d%2Fimage.png?alt=media&#x26;token=d89ff9c0-fbd5-4980-a5ab-e84322358152" alt=""><figcaption><p>Empty fields error</p></figcaption></figure>

### 2. Writeback column rename

You need not use the column names from the dataset while writing back, you can specify a custom column name. For instance, if the column name in the data set is PY, you can rename it to PreviousYear for writeback. To rename columns, navigate to Writeback settings > Advanced tab > Writeback column rename and click the <img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F9S9scAnAmhSWA3CgqXmt%2Fimage.png?alt=media&#x26;token=26ce9b14-f202-4eb2-bd1f-f0cf95740cb5" alt="" data-size="line">icon.

In the example, we have renamed <mark style="color:green;">Segment</mark> to <mark style="color:orange;">Category</mark> and <mark style="color:green;">Product</mark> to <mark style="color:orange;">Brand</mark>. <mark style="color:green;">COGS</mark> has been expanded to <mark style="color:orange;">Cost of goods sold</mark>.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FpKO15clSSsOehZyf0rMV%2Fimage.png?alt=media&#x26;token=08eacc78-2b44-4fcb-b473-c7f8820c92cf" alt=""><figcaption><p>Renaming WB fields</p></figcaption></figure>

### 3. Schedule writeback

Inforiver will trigger writeback at the specified time you select without any manual intervention. You can specify the email IDs to be notified if a scheduled writeback job fails.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F51fJamrNlnJ8HHG6Zjub%2Fimage.png?alt=media&#x26;token=e4c614af-45c6-4365-8ce3-ceaba3c1684b" alt=""><figcaption></figcaption></figure>

You can monitor the schedule history and view logs from the admin console. Click on **View jobs** to see the logs.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fs8LgHgMv1Htbs3T44Ath%2Fimage.png?alt=media&#x26;token=2df34806-e071-4778-bd10-207ee54fb2f8" alt=""><figcaption><p>Scheduled writeback logs</p></figcaption></figure>
