Add Csv Table
add_csv_tableAdd a CSV-sourced table to a Power BI .pbip project via Power Query; column types are inferred from the file, and refreshing in Power BI Desktop loads the data.
Instructions
Add a table to a project, loaded from a CSV via Power Query. Types are inferred from the CSV. pbip_path may be the .pbip file or the project folder. Refresh in Power BI Desktop loads the data.
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>",
"csv_path": "<csv_path>"
},
"name": "add_csv_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_path | Yes | ||
| encoding | No | ||
| delimiter | No | , | |
| pbip_path | Yes | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||