# Replace

In a chart modifying context, the Replace prefix changes all values of the HC1 table with a computed value defined by the script.

Syntax:

Replace loadstatement

Example:

This example overwrites all values in column z with the sum of x and y.

```
Replace Load
x+y as z
Resident HC1;
```

## Learn more

* [Load](https://help.qlik.com/en-US/sense/November2024/Subsystems/Hub/Content/Sense_Hub/ChartLevelScripting/RegularStatements/Load.htm)