
Have you ever ever wanted to export all of the tables from a Energy BI semantic mannequin to Excel or CSV? It’s simple sufficient once you solely want the information from one visible. It’s a totally different story when somebody asks for a replica of all of the tables, or once you additionally must see how the tables relate to one another and what DAX sits behind the measures.
I wrote a couple of blogs about exporting Energy BI knowledge earlier than we constructed Energy BI Exporter at Knowledge Vizioner. The thought on the time was easy. Open the mannequin in Energy BI Desktop, run the software, and get the information and mannequin construction in a single zip file. With model 2, we added an Excel export and some issues I discover helpful when reviewing a mannequin, akin to seeing which tables take many of the reminiscence and getting an inventory of best-practice findings. You possibly can learn in regards to the first model in my authentic Energy BI Exporter weblog.
On this weblog, I exploit two Journey Works fashions to indicate what comes out of the export. The primary is an Import mannequin, the place I discovered a calculated desk with virtually 140 million rows. The second is a Direct Lake mannequin in a Cloth trial workspace. This one had far fewer rows, however two textual content columns collectively used virtually half of its reminiscence. I clarify what I’d verify in every case after we undergo the export.
You possibly can watch the whole demonstration on my YouTube channel:
When you desire listening, I’ve additionally printed an AI generated podcast model of the video:
What Energy BI Exporter does #
The export continues to be the place to begin. The distinction in model 2 is what you’ll be able to be taught in regards to the mannequin from the recordsdata you get.
| Characteristic | What you get |
|---|---|
| Mannequin Insights | An outline of the mannequin, together with tables, columns, measures, relationships, row counts, storage modes, reminiscence utilization and the final refresh. |
| Efficiency Tuner | A breakdown of the place the mannequin makes use of reminiscence and an inventory of findings with recommended adjustments. |
| Knowledge Exporter | An Excel sheet or a UTF-8 CSV file for every exported desk, plus the mannequin metadata, together with the DAX expressions for the measures. |
| Greatest practices | Checks on mannequin design, DAX, upkeep, naming and formatting, with a precedence and a recommended motion for every discovering. |
I exploit Excel Workbook once I need to look by means of the mannequin and filter the information. For a replica of all of the rows, I exploit Zip File. The zip accommodates the CSVs and a PDF with the mannequin evaluate. The workbook offers you the evaluate on three sheets, together with the mannequin metadata and desk knowledge.
Energy BI Exporter works with Import, DirectQuery, composite and Direct Lake fashions. That is value conserving in thoughts in case your mannequin makes use of multiple storage mode. The exporter can learn Import knowledge from the mannequin, whereas a question in opposition to a DirectQuery desk can go all the best way to the supply. If you wish to be taught extra about what the software exports, take a look on the Energy BI Exporter web page.
What you want #
- Energy BI Desktop on Home windows and Energy BI Exporter. Enter your e-mail on the Energy BI Exporter obtain web page to get the installer, then run it. As soon as put in, the software seems on the Exterior instruments ribbon. The app is free and runs with no separate account, licence key or .NET set up.
- A semantic mannequin open in Energy BI Desktop. For the Import instance, open a neighborhood
.pbixor.pbip. For the Direct Lake instance, open the printed mannequin for reside enhancing. Microsoft lists an enabled tenant XMLA endpoint, Learn Write entry on the capability’s XMLA endpoint, Write permission on the mannequin, Viewer permission on the lakehouse and a licence that helps reside enhancing. These are necessities for opening the mannequin this fashion. The exporter itself solely reads it. For extra particulars on capability settings and permissions, see the Direct Lake reside enhancing necessities on Microsoft Study. - Microsoft Edge, if you’d like the PDF within the zip. If Edge can’t generate the PDF, you continue to get the CSV recordsdata.
Open your mannequin in Energy BI Desktop #
Import mode #
Open your .pbix or .pbip in Energy BI Desktop. My instance is Gross sales & Buyer Insights, an Import mannequin based mostly on Journey Works. You possibly can run the export from any view. Energy BI Desktop already has a neighborhood Evaluation Providers engine working for the open mannequin, and that is what the software connects to.
Direct Lake #
For my second instance, the mannequin is AdventureWorks Gross sales Analytics DL in a Cloth trial workspace. There may be one step right here that’s simple to overlook. The Join button opens a report with a reside connection to the mannequin. To open the mannequin itself, use Edit from the dropdown subsequent to Join. If you wish to see the opposite methods to open the mannequin for enhancing, see find out how to reside edit a Direct Lake mannequin on Microsoft Study.
- Open Energy BI Desktop and choose OneLake catalog on the beginning display screen.

- Enter a part of the mannequin title in Filter by key phrase. Choose the semantic mannequin, verify its workspace underneath Location, then choose the arrow subsequent to Join.

- Choose Edit from the dropdown.

- In Mannequin view, verify the mannequin title within the title bar and the banner that claims Stay enhancing your mannequin utilizing Direct Lake. You possibly can see the objects underneath Knowledge, and the standing bar reveals Storage Mode: Direct Lake.

Remember that adjustments you make to the mannequin on this session are saved to the workspace as you’re employed. You possibly can run Energy BI Exporter from this session as a result of the software solely sends learn queries. You possibly can learn extra about how Desktop saves adjustments throughout reside enhancing on Microsoft Study.
Export the mannequin to Excel or CSV #
After getting both mannequin open, observe the identical steps to export it.
Step 1. Begin Energy BI Exporter #
Choose Exterior instruments on the ribbon, then choose Energy BI Exporter. Energy BI Desktop passes the connection particulars for the open mannequin to the software.

Step 2. Select a file title and format #
Within the Save Export window, go to the folder the place you need to retailer the export and enter a File title. From Save as sort, choose Zip File for the CSVs and PDF, or Excel Workbook for the workbook. You may as well enter the extension within the file title.

Step 3. Save and verify the outcome #
- Choose Zip File, then choose Save. To get the Excel model as nicely, launch Energy BI Exporter once more after the primary run and choose Excel Workbook. It can save you each variations with the identical base title by together with the file extension.


- Look ahead to the progress window to complete. The software reads the mannequin statistics and writes the information to the file you chose.

- Learn the completion message and choose Shut. In my Import instance, the workbook completed with “Accomplished. 1 desk lower, see Export notes”. When you see an identical message, open Export notes to seek out out which desk reached the Excel row restrict. The software additionally tells you if it left calculated columns empty, couldn’t create the PDF, or accomplished with out mannequin storage statistics.

As you’ll be able to see beneath, the Import workbook took 38 seconds, whereas the zip took practically 10 minutes. The workbook stopped studying the most important desk when its sheet stuffed up. So these two runs had been writing fairly totally different quantities of knowledge. Each Direct Lake exports completed in about 30 to 40 seconds in my trial workspace.
| Consequence | Gross sales & Buyer Insights (Import) | AdventureWorks Gross sales Analytics DL (Direct Lake) |
|---|---|---|
| Tables | 19 | 24 |
| Mannequin rows | 141,025,145 | 1,395,916 |
| Zip export | 9 minutes 45 seconds, 442.5 MB, 25 recordsdata | 30 to 40 seconds, 23.3 MB, 30 recordsdata |
| Excel export | 38 seconds, 30.8 MB, 28 sheets | 30 to 40 seconds, 33.6 MB, 32 sheets |
| Rows within the workbook | 2,472,146, with one desk lower | 1,395,916, all rows match |
What’s within the zip #
Open the zip and search for the recordsdata beginning with Knowledge-. Every of those is a UTF-8 CSV with the column names on the primary row. The exporter consists of common hidden tables. The non-public tables that Energy BI creates for auto date/time are listed within the mannequin metadata, the place you need to use IsExported to see which tables have an information file. In my Import mannequin, auto date/time was off, so I obtained 19 knowledge CSVs.
The file that caught my consideration was Knowledge-Clients with Annual Revenue Greater than 10K Gross sales.csv. It had 139,601,574 rows and took 4.9 GB by itself. That explains many of the 5 GB I obtained once I unzipped the Import export. The Direct Lake zip had 24 knowledge CSVs and got here to about 116 MB after extraction. Its largest file was Knowledge-Web Gross sales.csv, which was 47 MB with 290,057 rows.


The remainder of the zip is the place you can begin wanting on the mannequin itself. The 5 metadata CSVs even have matching sheets within the Excel model.
| File | What it accommodates |
|---|---|
Mannequin-Tables.csv |
Desk type, storage mode, hidden and exported flags, row and object counts, reminiscence sizes, share of the mannequin, integrity violations and references. |
Mannequin-Columns.csv |
Knowledge and column varieties, hidden flag, encoding, cardinality, selectivity, dictionary, knowledge and hierarchy sizes, shares and segments. |
Mannequin-Relationships.csv |
Tables and columns at each ends, cardinality, lively flag, filter route, referential integrity, dimension, lacking keys and invalid rows. |
Mannequin-Partitions.csv |
Storage mode, partition sort, state, final refresh, segments, rows and dimension. |
Mannequin-Measures.csv |
Show folder, knowledge sort, hidden flag, description, IsReferenced, DAX expression, format string and dynamic format string expression. |
Mannequin-Report.pdf |
The mannequin overview, efficiency findings and best-practice checks. |
Sizes within the metadata CSVs are in bytes, and shares and selectivity are between 0 and 1. The place the checklist is sorted by dimension, the most important objects come first.
What’s within the Excel workbook #
Overview #
Open Overview first. Here’s what the highlighted areas present within the Import workbook.
- Mannequin. Verify the mannequin title, compatibility stage, estimated dimension, dimension in reminiscence, final refresh and export time.
- Knowledge. Examine the row rely within the mannequin with the row rely within the workbook. The yellow “Some tables had been lower” message tells you that at the very least one desk reached Excel’s row restrict. You may as well see the most important desk by rows and the most important desk and column by reminiscence.
- Value a glance. The highlighted rows present one desk lower at Excel’s row restrict, two efficiency findings and 49 best-practice findings. Open Export notes, Efficiency or Greatest practices for the small print.
- Charts. The 4 charts right here present the most important tables by rows, tables by storage mode, the widest tables and columns by knowledge sort.

Within the Direct Lake workbook, the identical info is grouped a bit in a different way within the screenshot.
- Mannequin and Construction. See the mannequin particulars and object counts collectively. My Direct Lake mannequin used 51.3 MB in reminiscence and had 24 tables and 112 measures.
- Knowledge and Value a glance. All 1,395,916 rows fitted within the workbook. Underneath Value a glance, you’ll be able to see if the mannequin has any tables with out relationships, inactive relationships, bidirectional filters or many-to-many relationships. It additionally reveals extensive and empty tables. On this instance, I had 4 tables with out relationships and 4 inactive relationships.
- Charts. Verify the storage mode chart to see that 83% of the tables used Direct Lake. The charts additional down present measures per desk and which tables have essentially the most relationships.
- Abstract tabs. Use the yellow Overview, Efficiency and Greatest practices tabs to modify between the three abstract sheets.

Scroll additional down on Overview to see the final two charts and the desk stock.
- Relationships by sort and Tables by type. All 29 relationships on this mannequin had been one-to-many. The opposite chart reveals how the 24 tables are break up into knowledge tables, calculated tables and a calculation group.
- Desk stock. Verify the storage mode, row counts within the mannequin and workbook, object counts and final refresh for every desk. Choose a desk title to open its knowledge sheet.

Efficiency #
Open Efficiency to see the place the mannequin makes use of reminiscence and which findings the software suggests you have a look at first.
- The place the reminiscence goes. In my Import mannequin, column knowledge accounted for 227.1 MB, or 94.6% of the entire. This part additionally breaks out dictionaries, column hierarchies, relationships and consumer hierarchies. A dictionary shops the distinct values of a column.
- Findings. There was one high-priority discovering and one medium-priority discovering.
- Charts. Use Reminiscence by type to see the breakdown, then verify Largest columns in reminiscence. The highest column in my Import mannequin used 213.1 MB. The subsequent one used 3.3 MB.
- What to alter. Learn throughout every row to see the thing, precedence, space, reminiscence and discovering. The final column, What to do, offers you a recommended motion.

The Direct Lake mannequin gave me a unique place to begin.
- The place the reminiscence goes. Dictionaries used 33.3 MB, or 64.9% of the mannequin’s reminiscence.
- Findings. All 4 findings had been low precedence.
- Charts. The 2 Gross sales Order Quantity columns had been on the prime of the column chart and used 24.7 MB collectively.
- What to alter. The 4 rows flagged hidden columns with no mannequin dependencies. One instance was
Web Gross sales[Tax Amount], which used 715 KB.

The software appears to be like for issues like massive calculated tables or columns, high-cardinality textual content, decimals, timestamps, unused hidden objects, costly relationships and enormous single-partition tables. It additionally checks auto date/time tables and columns stored accessible for Excel by means of MDX. The scale ground is the better of 32 KB and 0.5% of the mannequin’s reminiscence. The precedence thresholds are 5% for Excessive and 2% for Medium.
Greatest practices #
Open Greatest practices to evaluate the modelling and DAX checks. These checks can nonetheless run if the engine doesn’t give the exporter storage statistics. Here’s what the numbers present within the Import workbook.
- Findings. There have been two high-priority findings, 38 medium and 9 low.
- By class. Each high-priority findings had been in Efficiency. You may as well see the counts for DAX, error prevention, upkeep, naming and formatting.
- What to alter. Use the Precedence or Class filter to slender down the findings, then learn the What to do column. The primary two rows in my Import workbook flagged safety filters on Date, which has a many-to-many relationship.

Verify the identical three areas within the Direct Lake workbook.
- Findings. I had 15 medium-priority findings and three low-priority findings.
- By class. Efficiency had essentially the most findings, with 10. The others had been in DAX, upkeep and formatting.
- What to alter. The desk reveals the objects concerned and what to verify. For instance, when a column makes use of the Double knowledge sort, verify the precision you want earlier than altering its sort.

The foundations are based mostly on Microsoft’s open-source fabric-toolbox. Of the 71 guidelines within the set we used, 47 are on the Greatest practices sheet and 9 are on Efficiency, the place the software can use the reminiscence figures. The exporter additionally distinguishes a DAX perform name from a perform title in a string or a remark. Some checks group the affected columns by desk so the identical discovering doesn’t fill the sheet. When you’re within the guidelines behind these checks, you’ll find them within the Microsoft fabric-toolbox on GitHub.
The Mannequin sheets #
The Mannequin Tables, Mannequin Columns, Mannequin Relationships, Mannequin Partitions and Mannequin Measures sheets have the identical columns because the 5 metadata CSVs, with Excel filters and formatted numbers. Open Mannequin Tables to see these particulars for every desk.
- StorageMode. There have been 20 Direct Lake tables on this mannequin. The three calculated tables confirmed Import, and the calculation group confirmed Default.
- RowsCount. Verify the variety of rows in every desk. The most important on this instance had 776,286 rows.
- Sizes. Verify the dictionary, knowledge and hierarchy sizes and the entire dimension of every desk in bytes.

I discover Mannequin Measures helpful once I inherit a mannequin and need to learn its DAX in a single place. Open the sheet and have a look at these columns within the Import workbook.
- DisplayFolder. Filter the measures by folder. The column is clean for measures on the prime stage.
- IsReferenced. On this mannequin, 16 of the 54 measures had been referenced by one other object within the mannequin. The verify covers utilization in objects akin to different measures, calculated columns and safety guidelines. Verify the stories earlier than eradicating a measure marked as unreferenced.
- Expression. Learn the DAX definition of the measure.

The Direct Lake workbook additionally reveals the DAX behind dynamic format strings.
- DisplayFolder. The 112 measures on this mannequin had been organised into 12 show folders.
- IsReferenced. Different objects within the mannequin referenced 79 of these measures.
- Expression and FormatStringExpression. Verify the DAX of the measure and its dynamic format string. In my Direct Lake mannequin, 45 measures had a dynamic format string.

Desk knowledge and Export notes #
Every exported desk will get its personal worksheet. You possibly can see how this appears to be like within the Direct Lake workbook.
- Header row. The column names keep seen as you scroll as a result of the primary row is frozen.
- Sheet tab. Choose Web Gross sales to see the desk knowledge. It had the identical 290,057 rows because the CSV model. All tables fitted on this workbook, so there was no Export notes sheet.

Within the Import workbook, verify what occurred to the most important desk.
- Final row. The sheet stops at row 1,048,576, which is Excel’s restrict. The header takes one row, so the workbook consists of the primary 1,048,575 knowledge rows.
- Sheet tab. Excel permits as much as 31 characters in a sheet title, so the exporter shortened the unique desk title.

Open Export notes to see what the exporter modified.
- Notes for the affected desk. The 2 entries present the unique desk title, the worksheet title and why every change was wanted. One information the shortened title and the opposite information the rows that didn’t match.

You may as well see notes when the software makes sheet names distinctive, cuts textual content at 32,767 characters, or writes a price as textual content as a result of Excel can’t maintain it as-is. This consists of numbers with greater than 15 digits, NaN and dates earlier than 1900. The workbook properties embrace the mannequin title, exporter model, export time and whether or not the mannequin statistics had been included.
The PDF report #
Open Mannequin-Report.pdf from the zip if you wish to share the findings with somebody who doesn’t want the information. It has the mannequin overview, desk stock, efficiency and best-practice findings on A4 panorama pages. My Import report was 9 pages and the Direct Lake report was seven.
On the primary web page of the Direct Lake report, the doughnut charts present each the rely and the share subsequent to every label. For instance, underneath Columns by knowledge sort, you’ll be able to see that 55 columns had been textual content, or 32% of the entire.


On web page 5 of the Import report, Largest columns in reminiscence reveals 12 columns. This brings in two extra columns past the ten proven on the Excel chart.

On web page 6, the Findings by class chart breaks every bar down by precedence. For instance, you’ll be able to see that every one the formatting findings are medium precedence and that each high-priority findings are in Efficiency.

What I discovered within the two fashions #
The desk beneath offers you an concept of what I used to be working with. Each fashions had single-direction relationships and the exports confirmed zero lacking keys and invalid rows. For Direct Lake, take into account that these figures depend upon the statistics returned by the engine. The separate DAX checks for actual counts had been run for Import tables.
| Gross sales & Buyer Insights (Import) | AdventureWorks Gross sales Analytics DL (Direct Lake) | |
|---|---|---|
| Mannequin construction | 19 tables, 254 columns, 54 measures and 4 safety roles | 24 tables, 171 columns (89 hidden), 112 measures and a couple of safety roles |
| Relationships | 31, together with 1 many-to-many and seven inactive | 29, all one-to-many, with 4 inactive |
| Reminiscence | 240.0 MB | 51.3 MB |
| Largest contributor | One calculated desk used 217.3 MB (90.5%) | Web Gross sales and Reseller Gross sales every used about 40% of the mannequin’s reminiscence |
| Efficiency findings | 2 (1 excessive, 1 medium) | 4 (all low) |
| Greatest-practice findings | 49 (2 excessive, 38 medium, 9 low) | 18 (15 medium, 3 low) |
Import mannequin #
The calculated desk Clients with Annual Revenue Greater than 10K Gross sales used 217.3 MB of a 240.0 MB mannequin. To place that in perspective, it had about 480 occasions as many rows as Web Gross sales. What I discovered fascinating right here was that CustomerKey by itself used 213.1 MB, regardless that it had solely 2,198 distinct values. So the very first thing I’d have a look at is how the desk will get to 139.6 million rows. Whether it is meant to carry the gross sales of consumers with earnings over 10K, is the DAX multiplying rows someplace?
Efficiency Tuner suggests constructing the desk within the warehouse or Energy Question. I’d verify the logic and work out what one row is meant to symbolize first. If the calculation is producing extra rows than it ought to, shifting it upstream by itself can go away you with the identical drawback.
The opposite efficiency discovering was a many-to-many relationship to Date[Year - Month]. That is additionally the place the 2 high-priority best-practice findings got here from. The 2 row-level safety (RLS) roles, Web Gross sales 2026 and Unauthorised Person, each filter the Date desk. I’d evaluate the position filters and the connection collectively, and verify whether or not a desk with one row per key would work for this mannequin. A few of the lower-priority findings had been round snowflaked dimensions, floating-point columns and lacking measure format strings.
Direct Lake mannequin #
In Direct Lake, I discovered that the most important desk by rows was totally different from the most important desk in reminiscence. Product Stock was the most important desk by row rely, at 776,286 rows, whereas Web Gross sales was largest in reminiscence, at 20.7 MB. The half I discovered extra fascinating was within the column chart. Gross sales Order Quantity used 13.1 MB in Reseller Gross sales and one other 11.6 MB in Web Gross sales. Collectively, that’s 24.7 MB out of 51.3 MB. If I had been reviewing this for a venture, I’d first verify the place the order quantity is used within the stories. That may assist me determine whether or not I nonetheless want the textual content column or might use a whole-number key.
The 4 efficiency findings had been all low precedence and associated to hidden columns with no mannequin dependencies. One instance was Web Gross sales[Tax Amount] at 715 KB. In Greatest practices, I noticed six Double columns, two inactive relationships with no USERELATIONSHIP reference, a measure utilizing INTERSECT the place TREATAS may match, and 24 seen measures with no format string. There have been additionally findings about table-qualified measure references, lacking descriptions and snowflaked dimensions. For the Double columns, verify how a lot precision the enterprise wants earlier than altering to Fastened decimal, which retains 4 decimal locations.
Limits and concerns #
- Excel and disk area. Use the zip once you want greater than 1,048,575 knowledge rows from a desk. Additionally verify the disk area earlier than extracting a big export. My 240 MB Import mannequin produced about 5 GB of uncompressed recordsdata.
- Knowledge freshness and connectivity. A neighborhood Import export works offline and accommodates the information as of the mannequin’s final refresh. Verify Overview or
Mannequin-Partitions.csvif the refresh time issues. For a broadcast Direct Lake mannequin, you want entry to the service. With DirectQuery, permit for the load and permissions concerned in studying a complete desk from its supply. - Mannequin findings. Energy BI Exporter checks dependencies between objects throughout the semantic mannequin. It doesn’t hint dependencies in Energy Question, inside a report or from a report again to the semantic mannequin. So if a column or measure reveals up as unused, verify whether or not any of your stories nonetheless use it earlier than eradicating it. If you wish to evaluate the Energy Question logic or see how mannequin fields are utilized in stories, take a look at Energy BI Documenter on the Knowledge Vizioner platform.
- Backup. Hold your authentic mannequin and report recordsdata or definitions if you could restore them. The export offers you the desk knowledge and a listing of the mannequin.
Conclusion #
Once we constructed the primary model of Energy BI Exporter, I needed a better solution to get the information out of Energy BI Desktop. The zip continues to be the choice I’d use for that. What I like about model 2 is that I can open the identical export and see what I’d have a look at first if somebody requested me to evaluate the mannequin. With my Import mannequin, that was the logic behind one outsized calculated desk. In Direct Lake, it was how two gross sales order columns had been used.
When you’d wish to strive it by yourself mannequin, you’ll be able to obtain Energy BI Exporter without spending a dime. When you want ongoing mannequin documentation, field-level lineage or AI-written descriptions, you’ll be able to learn extra about these options on the Knowledge Vizioner web site.
As all the time, I hope you’ve realized one thing new from this weblog. When you strive the exporter on one in all your fashions, I want to hear what you discovered and what else you want to see within the export.
When you discovered this convenient, you’ll be able to observe me on LinkedIn, subscribe to BI Perception on YouTube, or observe the BI Perception podcast on Spotify. I additionally share updates on Bluesky and X, masking Energy BI, Microsoft Cloth, AI, and the real-world knowledge and analytics issues I come throughout alongside the best way.
Associated
Uncover extra from BI Perception
Subscribe to get the newest posts despatched to your e-mail.