pbi_create_csv_import_query
Generates and inserts a Power Query script to load CSV data into a specified Power BI table, with configurable delimiter, encoding, header, and refresh settings.
Instructions
Generate and inject a CSV import Power Query for a table.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| csv_path | Yes | ||
| encoding | No | ||
| delimiter | No | , | |
| quote_style | No | csv | |
| refresh_after | No | ||
| partition_name | No | ||
| promote_headers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |