I am excited to announce that our amazing team at Data Vizioner has developed a lightweight and easy to use external tool for Power BI Desktop named Power BI Exporter. The Power BI Exporter is a free community tool available for download here. With External Tools General Availability, you can expect to see more and more External Tools built by our amazing community members. I personally stunned to see many amazing ideas turn into useful tools. Learn more about Power BI announcements about External Tools GA here. I am humbled to be named in the announcement though. So thank you to Microsoft for that.
Let me start with a little background. In the past few years, I wrote a series of blog posts about exporting data from Power BI Desktop and Power BI Service. Those posts are quite popular. They are in the top 10 most visited posts on my website, contributing to about 15% of my website visitors. Here are the previous posts I wrote on this specific topic:
- Exporting Data from Power BI Desktop to Excel and CSV – Part 1: Copy & Paste and DAX Studio Methods
- Exporting Data from Power BI Desktop to Excel and CSV – Part 2: Importing Power BI Data Directly to Excel
- Exporting Power BI Data to SQL Server
- Export Power BI Service Data to SQL Server
- Quick Tips: Export Power BI Desktop and Power BI Service Model Data In One-Shot with DAX Studio
Apart from my website statistics showing many people want to export data from Power BI Desktop, some of my customers asked the same question. They wanted to export the curated data from their data model within Power BI Desktop to CSV format and make the curated data available for their other platforms. While all the methods mentioned in my previous blog posts are working, some users still find them complex. So I thought, we can make it better. We can make a straightforward tool that exports the data with only two clicks. So we started building the Power BI Exporter as a micro-project. We added some more ideas to the original idea of only exporting the data. We thought it is good to export the data along with the table names, column names and relationships. Having that information handy, we can quickly build the same data model as the one we exported its data but using the CSV files as the data sources. The other idea was to pack everything in a ZIP file on the fly, so we have a single ZIP file, including the tables, columns, and relationships. As a result, the first version of the Power BI Exporter is born. In this post I explain how it works.
Downloading and Installing Power BI Exported
You can download Power BI Exporter from its official webpage from Data Vizioner website. You require to enter your email address then click the Download button as shown in the following image:
Depending on your browser, the download process may be slightly different. We are aware that some browsers may raise a security warning, we are working to solve the issue. But for now, you can ignore the security warning and download the
You can install the file by double clicking it and following the instructions within the installer.
Using Power BI Exporter
As mentioned earlier, the idea of creating the Power BI Exporter was to have a dedicated tool that exports data from Power BI Desktop in the simplest possible way. After you successfully installed the Power BI Exporter, follow these steps:
- Click the External Tools tab after opening the Power BI Desktop (either the Store version or the regular downloaded version)
- Click the Power BI Exporter
- Navigate to the desired location to store the ZIP file
- Enter the File name
- Click the Save button
- The Exporter starts exporting the data in a ZIP file in the location we selected earlier. After the export process is Done, you can close the Power BI Exporter window
Testing the Results
You can now navigate to the location and open the ZIP file. The ZIP file must contain all data, tables, columns and relationships. The following image shows the results of exporting the data from my Power BI data model:
As you see in the above image, the Power BI Exporter successfully exported 24 data tables plus three schema files including Tables, Columns and Relationships. Let’s have a look at my data model and see if all tables are exported. The following image shows my data model:
As the preceding image illustrates, my model is a Composite Model containing tables with different Storage Modes including:
- Import Data
The model also have some hidden tables and calculated tables. As you see, the Power BI Exporter successfully exported all tables.
Let’s open the
Tables.csv file and see if the file includes all those tables. The following image shows the contents of my
I leave it to you check the rest of files exported.
Every piece of software has some limitations, and Power BI Exporter is not an exception. Please keep the following points in mind before using the Power BI Exporter:
- Power BI Exporter will not work if you are connected to an instance of Analysis Services (SSAS) or a Power BI Dataset in Connect Live mode. If you are not too sure what Connect Live means, I encourage you to look at this article
- If there is an error in your DAX expressions creating calculated columns or calculated tables, Power BI Exporter will raise an error message when it attempts to export the data from the problematic table
- DAX errors in measures will not affect Power BI Exporter
- Power BI Exporter exports the data of all tables within the data model. If the table has not been loaded into the data model, Power BI Exporter cannot access it
- Power BI Exporter exports the tables available in the data model regardless of their underlying data source. If your model contains tables in DirectQuery mode connected to large tables, then Power BI Exporter still works. But it tries to export the whole data from the data source which may take a long time if the underlying data source contains large amounts of data
Power BI Exporter is a tool designed and implemented with simplicity in mind. Exporting data from Power BI Desktop has never been as easy as it is with Power BI Exporter. Power BI Exporter is a free tool, but that does not mean we will not support it or update it. So, as always, feel free to share your thoughts and let us know what features you would like us to add to the tool. Hopefully, you find the tool helpful.