pbi_set_relationship_direction
Set the cross-filter direction of a Power BI relationship to single or bidirectional. Adjusts how filters flow between tables to control calculations and totals.
Instructions
Cambia el filtro cruzado de una relacion.
direction: 'single' (una direccion, recomendado) o 'both' (bidireccional).
OJO: cambiar a 'single' puede alterar totales que dependian de la bidireccional;
verifica el informe despues.
No confundir direction='both' (bidireccional, valido) con mode='both',
que esta temporalmente deshabilitado bajo la politica estricta: 'live'
necesita Power BI Desktop abierto y 'pbip' lo necesita cerrado, asi que
una sola llamada aplicaria solo uno de los dos destinos.
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": {
"from_table": "<from_table>",
"to_table": "<to_table>"
},
"name": "pbi_set_relationship_direction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | live | |
| to_table | Yes | ||
| direction | No | single | |
| from_table | Yes | ||
| request_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |