Add Excel Table
add_excel_tableAdd an Excel worksheet as a table to a Power BI project, using the file's column types; leave sheet empty to select the first worksheet.
Instructions
Add a table to a project, loaded from one sheet of an .xlsx file (types come from the Excel column types). sheet='' = first sheet.
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": {
"pbip_path": "<pbip_path>",
"table_name": "<table_name>",
"xlsx_path": "<xlsx_path>"
},
"name": "add_excel_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| pbip_path | Yes | ||
| xlsx_path | Yes | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||