Skip to main content

Power BI

Needs Votes

Allow Power Query to Export Data

Vote (689) Share
Henson's profile image

Henson on 31 Jul 2015 22:00:34

Allow Power Query results to be written back to a flat file or SQL table.

Relivant forum thread:
http://community.powerbi.com/t5/Integrations-with-Files-and/Can-PowerQuery-write-data-back-out/m-p/1747

Comments (26)
Henson's profile image Profile Picture

387f88d7 e48b-4333-995a-1e4c9c88afbc on 05 Jul 2020 22:14:43

RE: Allow Power Query to Export Data

A MUST!!!!! Power BI would be a go to tool for all large enterprise data base management.

Henson's profile image Profile Picture

8e316038 c72b-42ee-b548-a7746ad8a54e on 05 Jul 2020 22:12:55

RE: Allow Power Query to Export Data

With the December update you can use the workaround via R to export your data from Power BI to txt or SQL-server: http://www.thebiccountant.com/2015/12/28/how-to-export-data-from-power-bi-and-power-query/

Henson's profile image Profile Picture

53872711 5819-e611-80e2-c4346bad91c4 on 05 Jul 2020 22:10:26

RE: Allow Power Query to Export Data

You can do this with a small amount of VBA and a calculated column that incorporates an INSERT statement. Load the data into an Excel worksheet then iterate down each row executing the INSERT statement. Would be good if you could specify a database and table as a destination though! ;)

Henson's profile image Profile Picture

299fa794 e9ba-47f1-9b35-a6b87dc0b89d on 05 Jul 2020 22:09:05

RE: Allow Power Query to Export Data

This is a must-have feature.

Henson's profile image Profile Picture

ca094856 9d81-47a9-93d0-233709750341 on 05 Jul 2020 22:09:05

RE: Allow Power Query to Export Data

In order to avoid constant queries to the underlying datasources (like ERP-systems) for performance reasons, it would be great if one could save the results of the basic-cleanup steps in a csv-file which would then serve as the basis for all monthly reports. (“Lightweight DWH” without server, single point of truth)

Henson's profile image Profile Picture

eb0f29e8 e176-49fc-bfe8-71917fc6a49c on 05 Jul 2020 22:04:25

RE: Allow Power Query to Export Data

This is one of the first things I wanted to be able to do. I imported data from the web, but it is dirty. I want to map the values to human readable ones and then reimport it, but I can't export the data directly from Power BI Desktop.