pbi_create_relationship
Create a many-to-one relationship between tables in a Power BI model using existing columns.
Instructions
Create a relationship (many-to-one from -> to by default). Both endpoint columns must already exist.
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>",
"from_column": "<from_column>",
"to_table": "<to_table>",
"to_column": "<to_column>"
},
"name": "pbi_create_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_table | Yes | ||
| is_active | No | ||
| to_column | Yes | ||
| from_table | Yes | ||
| cardinality | No | ||
| from_column | Yes | ||
| cross_filter | No |