POWER BI QUESTIONS

How to Get Excel Files from Power BI Desktop Table Exports

“Could you send me that stock table in Excel?” It sounds like a quick favour—until the same request comes back every Monday.

Desktop can handle the occasional transfer. For recurring delivery, publish the report to Power BI Service or Power BI Report Server, then let PBRS prepare and send the workbook. PBRS also exports SSRS reports; it does not export directly from Power BI Desktop.

  
The Monday request

Get today’s workbook out of Desktop

Your warehouse colleague is preparing the weekly stock review. The report looks right on your screen, but they need a workbook where they can check item numbers, add notes and work through the shortages. For today, you can help without building a new reporting process.

Take the data from the right place

If the report’s table visual already contains the stock information they need, choose More options > Export data. Power BI Desktop exports summarized visual data as CSV. In Excel, use Data > From Text/CSV, review the import and save the result as an Excel Workbook (.xlsx). Renaming a CSV file to .xlsx does not convert it.

If you need records from a loaded model table instead, use the appropriate Copy option in Desktop’s Table view and paste into Excel. This is separate from the report canvas and Power Query Editor. Check exactly which records were copied rather than assuming the clipboard contains the same subset you were looking at.

The distinction matters. A visual might show one quantity per item, while the model contains separate records for each warehouse. Ask whether your colleague wants the stock summary or those individual records before you send the file.

Keep the item numbers intact

An item number such as 000742 must still be 000742 when the workbook arrives. Set identifier columns to Text before pasting, or during the CSV import before loading. Leave quantities numeric so your colleague can calculate with them. If zeros have already disappeared, return to the source; changing 742 to text cannot establish the original identifier.

Microsoft’s visual export guide explains the Desktop CSV route and its limits. A CSV visual export is limited to 30,000 rows, so check warnings and completeness before relying on a large extract.

Power BI Desktop Table view showing model rows, the Data pane and table controls.

This solves today’s request. When the next Monday brings the same request, the useful question changes: how can this workbook arrive without someone opening Desktop, importing data and composing another email?

Keep the first workbook simple

Agree on the items, warehouse and stock date your colleague needs. A clear, correct extract is a better starting point than a larger file whose rows nobody can explain.

  
Make it repeatable

Give the report a home beyond your laptop

PBRS can take over the recurring export once the report is available from a supported reporting platform. Its sources are Power BI Service online, Power BI Report Server and SSRS—not a local .pbix file open in Desktop. That publishing step is what the old manual routine was missing.

Publish to Power BI Service for an online reporting home

Use Desktop’s Publish command to send the report and its semantic model to the appropriate Power BI workspace. Your team can then work from a centrally managed report, with access controlled in Power BI, instead of exchanging copies of your working file.

For the stock review, this gives PBRS a maintained report to export while you are away from your laptop. Configure the published model’s data-source credentials and refresh arrangements, including a gateway where required. Publishing once does not make the data automatically current, and later Desktop changes must be republished when you want them reflected online.

Follow Microsoft’s publishing instructions and check the workspace permissions and licensing your organization needs.

Use Power BI Report Server when reports belong on premises

If your organization hosts reporting within its own environment, Power BI Report Server gives the report a central server location and a browser-based viewing experience. PBRS can export from that published report, so the weekly delivery does not depend on the author’s Desktop session.

Use the Power BI Desktop version optimized for Power BI Report Server and confirm compatibility with your server. Report Server and the online service do not support every feature in exactly the same way. Microsoft’s Report Server publishing guide walks through saving the report to the server.

Bring existing SSRS reports into the same delivery routine

Your stock statement may already be an SSRS report. PBRS can export and deliver that report too, without requiring you to recreate it in Power BI. SSRS is a source for its supported report types; it is not a destination for publishing an ordinary Power BI Desktop .pbix report.

Whichever route fits, publishing establishes a report your team can maintain, secure and refresh independently of the author’s laptop. PBRS then adds the recurring file preparation and distribution. The reporting platform, data connections and PBRS host still need to be available when the job runs.

Publishing is the bridge

Desktop remains where you develop the Power BI report. The service or Report Server hosts the version used for delivery. PBRS connects to that published source and prepares the files for your recipients.

  
Prepare the handoff

Build a workbook your colleague can use

Start with the workbook your colleague found useful. Perhaps it needs a stock summary on the first tab, shortage detail on the second and a recognizable date in the filename. Those needs should guide the export configuration.

Choose the output for the report type

For supported Power BI Service visuals, Excel Data Only lets PBRS export the selected visual’s data into a workbook. Give the visual a title so PBRS can identify it, then choose summarized data or permitted underlying detail. Underlying data is subject to Power BI’s model, permissions and export restrictions; it is not an unrestricted copy of the whole model.

For a paginated or SSRS report, use its supported Excel export when the designed report layout matters. Check the output options for your particular source: the visual-data controls documented for Power BI Service should not be assumed to apply identically to every Report Server or SSRS export.

Prepare the file before it reaches the recipient

PBRS’s supported visual-data Excel settings let you control headings, column types and formats, add selected row and column totals, and reuse styles. Keep stock IDs as text, quantities as numbers and dates recognizable. Total the quantity columns that mean something to the reader, rather than adding totals indiscriminately.

If the warehouse already uses an Excel template, place the exported visual data into the chosen worksheet and starting position. Test both a short and a long result so incoming rows do not interfere with the template’s formulas or reserved areas.

Multiple visual exports can be organized into worksheets. Where you need several reports together, a PBRS package can merge supported Excel outputs into one workbook. Your colleague receives the stock summary and related detail together, rather than having to assemble a set of attachments.

Apply the supported password-protection options to the finished workbook when the figures need protection, and test the file the recipient will actually open. Worksheet protection and a password required to open a workbook serve different purposes. The PBRS Excel settings guide explains the available controls by output type.

Make the first delivery a rehearsal

Run the job to a test destination after the published data is ready. Open the attachment and check a known stock item, its quantity, the warehouse filter and the snapshot date. If two expected records contain quantities of 4 and 10, a total of 14 is helpful—but also confirm that they are the correct two records.

Then set the recurring delivery and decide how failures will be noticed. A successful export of yesterday’s data is still the wrong Monday workbook. Verify refresh completion, not just the planned refresh time, before relying on an unattended handoff.

Test the finished attachment

Open the merged or protected workbook, not only an intermediate export. Check tab names, item IDs, totals and the reporting date. Your colleague should be able to start working without repairing the file first.

  
For developers

Start the published report’s export from your application

If your inventory application knows when the stock update has finished, it can ask PBRS to run an existing export schedule. First configure and test that schedule against the published report. The application starts the job; PBRS retains the report, format and delivery settings.

This is also where the Desktop distinction matters for developers. The request below does not upload a .pbix file, open Desktop or copy its Table view. It executes a PBRS schedule whose source is already available in Power BI Service, Power BI Report Server or SSRS.

Developer example: start and monitor the stock workbook

Use an authorized API token and replace the illustrative identifier with an existing single-report schedule. Test its configured recipients and destination first. A package uses its own documented schedule type and identifier.

POST {pbrsBaseUrl}/api/Schedule/ExecuteScheduleAsync
Authorization: bearer {pbrsAccessToken}
Content-Type: application/json

{
  "ScheduleType": "report",
  "uniqueid": 101,
  "RunBy": "Weekly stock workbook"
}

GET {pbrsBaseUrl}/api/Schedule/GetExecutionStatus?ExecutionId={ExecutionId}
Authorization: bearer {pbrsAccessToken}

Retain the returned ExecutionId and use it to monitor this run. An accepted request does not confirm delivery. Check the execution result and intended destination before telling the user that the workbook is ready.

Use HTTPS for network connections, keep tokens on the application’s server and give polling a deadline. If a submission times out, investigate its outcome before submitting again. Follow the PBRS execute-and-monitor guide for the complete flow.

The useful result is a simple message for the warehouse team: the stock workbook is being prepared, or it is ready. Keep the execution reference behind that message so an unsuccessful run can be investigated without asking the reader to understand the API.

One job, one handoff

Coordinate application triggers with the recurring schedule. If both start the same export, your colleague may receive duplicate workbooks. Keep the reporting date and execution reference together when investigating a delivery.

  
Your next step

Let Monday’s workbook arrive without a reminder

Next Monday, your colleague should be able to open the stock workbook and get on with the review. You can still improve the report in Desktop, but exporting and emailing its data no longer has to be part of your morning.

For a one-off request, use Desktop’s manual transfer. For a regular handoff, publish the Power BI report to the service or Report Server, or use an existing SSRS report, and configure PBRS around the file your recipient needs.

Explore the PBRS Excel scheduling guide and the wider Power BI Report Automation workflow. Use the evaluation guide below to test your published report, workbook format and delivery together.

Download the PBRS Internal Evaluation Guide

Contributors:

Christian Ofori-Boateng

Christian Ofori-Boateng

CEO, ChristianSteven Software