Expose Power Query as a Standalone Runtime and Command-Line Interface (CLI)
One practical example from my own work: I use PowerShell to orchestrate a master data backup process where a list of SQL files is executed sequentially through hdbsql.exe, and the results are automatically exported to CSV files for backup and downstream consumption.
Oversimplified example of an hdbsql.exe execution using server information stored in $HanaServer, a single hardcoded .sql file, and a single output file. In practice, this process can execute multiple SQL files and produce multiple .csv files recursively and sequentially when looped:
PowerShell
↓
& hdbsql.exe -n $HanaServer -I query1.sql -o example1.csv
The key benefit is that SQL scripts are treated as first-class, reusable assets. PowerShell does not need to know the query logic itself. It simply invokes hdbsql.exe, passes the .sql file, and handles orchestration, logging, scheduling, and output management.
I would like to see a similar capability for Power Query. Today, .pq files contain transformation logic but cannot be executed directly as standalone assets in the same way that .sql files can be executed through hdbsql.exe. An official powerquery.exe (or equivalent runtime) would allow organizations to maintain reusable .pq files and execute them from PowerShell, Task Scheduler, Azure Automation, or CI/CD pipelines.
For example:
PowerShell
↓
& powerquery.exe -I etl1.pq -o example1.csv
This runtime could leverage the same authentication mechanisms already supported by Power Query connectors, allowing secure access to sources such as SharePoint, SQL databases, SAP systems, APIs, and other enterprise data platforms.
The particular use case that made me think about this is: I wanted to use a .pq file to connect directly to a read-only .xlsx file from SharePoint, retrieve a finance reporting schedule from a spreadsheet that currently has a non-table structure, perform all required transformations, and export a normalized dataset (without requiring Excel, Power BI Desktop, or any other host application) to be used as an input downstream in a similar orchestration/automation process as the one I designed for the Backup solution mentioned earlier. This would create the same clean separation of responsibilities that already exists with PowerShell and hdbsql.exe:
- Power Query for data transformation
- PowerShell for orchestration and automation
- SQL for data consumption and reporting
This approach would make Power Query a true first-class component of enterprise automation and ETL workflows, while preserving the existing user experience within Excel, Power BI, Fabric, and other Microsoft products.
Recent ideas
Fabric Copy Jobs desperately need basic editability after creation.
Requiring users to recreate an entire Copy Job just to change something as fundamental as the source connection or connection URL is unnecessarily restrictive and creates significant maintenance over...mpersha15 hours agoRegular VisitorNew3Views0likes0CommentsPreserve Background Colors When Exporting Power BI to Excel
When exporting a Power BI table or matrix to Excel, the data is exported correctly, but background colors and conditional formatting used to distinguish records are not preserved. It would be helpful...surya316 hours agoNew MemberNew5Views0likes0CommentsAdd an option to hide all visual-level filters
As a best practice, we often need to hide fields and measures from the Filters pane in Power BI reports. When a visual contains dozens of fields and measures, manually hiding each one individually ca...Roman202617 hours agoNew MemberNew21Views0likes2CommentsPower BI Table visual – "Show items with no data" causes blank values
A table visual groups only on columns (no measures) from a parent table and its child table, with "Show items with no data" on. For parent rows that have no child rows, the parent row appears, but an...ratcowboy18 hours agoNew MemberNew16Views1like0Comments