Read Power Query
xlide_read_queryRead a Power Query M formula and its metadata from an Excel workbook, including description, group, load target, and refresh settings. Supports reading line ranges and reports step errors.
Instructions
Reads one query's M formula, with its description, group, load target and refresh settings. The formula is the let ... in expression as the Advanced Editor shows it. start_line and end_line read a slice of a long formula; the content_token always describes the whole query. If applied steps cannot be read, steps is null and steps_error gives the reason; the M formula remains available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | No | Last formula line. 0 means the end. | |
| file_path | Yes | Absolute path to the Excel workbook. | |
| query_name | Yes | Query name, matched without case. | |
| start_line | No | First formula line. 0 means the start. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||