Still trying to figure out options for automating the export the result of a PowerQuery to SQL Server. Turns out that if I have DAX Studio installed, I can do this:
- Open my PBIX file that contains the PowerQuery I want to export the results from.
- Open DAX Studio from inside PowerBI.
- Go to the Advanced tab
- Select the table to export
- Specify SQL as the destination
- Specify Server, Schema, Authorization etc
- run
Can I somehow script that and call it from maybe SSIS or something?