update_query_parameter
Update the value expression of an existing query parameter in a Power BI paginated report (.rdl) by specifying the dataset, parameter name, and new expression.
Instructions
Change the value expression of an existing query parameter. Same PBIDATASET @-prefix normalisation as add_query_parameter applies on lookup; legacy Name='@X' parameters that already exist on disk are addressable via either @X or X.
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": {
"path": "<path>",
"dataset_name": "<dataset_name>",
"name": "<name>",
"value_expression": "<value_expression>"
},
"name": "update_query_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| dataset_name | Yes | ||
| force_at_prefix | No | ||
| value_expression | Yes |