replace_values
Replace all occurrences of a text value in a column with a new value by adding a Power Query step using Table.ReplaceValue and Replacer.ReplaceText.
Instructions
Power Query Replace Values: replace every occurrence of a text value in a column. Appends Table.ReplaceValue (Replacer.ReplaceText) to the table's M query.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"table": "<table>",
"column": "<column>",
"find": "<find>",
"replace": "<replace>"
},
"name": "replace_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | the value to find | |
| table | Yes | ||
| column | Yes | the column to replace in | |
| replace | Yes | the replacement value | |
| sessionId | Yes | ||
| partitionName | No | partition name (optional; defaults to the first partition) |