How do I use PBRS to export Power BI reports & SSRS reports to CSV format?

CSV is a simple file format used to store tabular data, such as a spreadsheet. PBRS lets you customize them before delivery. Here's how.

This video shows how to schedule Power BI reports to Excel (Data Only) and CSV.

How to Export a Power BI Report to Excel and CSV

This article describes how to export Power BI & SSRS reports to the following formats:

  • CSV (*.csv) outputs in Power BI
  • CSV (*.csv) outputs in SSRS

CSV (*.csv) outputs in Power BI

To export CSV outputs in Power BI, follow these steps:

Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.

Format

The output format is selected as part of the Destinations setup for each destination type. The tab above can be found in the Destinations section of a schedule.
  • CSV exports data from specified visuals to CSV file.
  • To add visual data click Add.
Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.

Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.
  • Visual Title: Select the Visual data's titles you want to export.
Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.
In order for PBRS to see a Visual (for exporting to CSV or Excel), the Visual MUST have a title already set in Power BI.
  • Data Export Type
    • Summarized data: Select this option if you want to export data for what you see in that visual.
    • Underlying data: Select this option if you want to see the data in the visual andadditional data from the model.
For more a more detailed explanation of the Data Export Types, click here.
  • Click OK.
Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.

CSV Options

Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.
  • You can enter any character or use tab as separator.
  • You can enter any character as Delimiter.

Options

Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.
  • Append to existing file: Determine whether to append to a file if one already exists at the disk destination.

File Summary

Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.

Naming

These options determine how the exported file will be name:

Power BI and SSRS. Namingt section in Destination Wizard in PBRS.
  • This is the option where you named the output file.
  • Default Naming Convention: PBRS will name the output file in the following format: reportname.format extension, e.g. Catalog Report.pdf.
  • Customize the output file name: Choose your own filename or right-click and use the Insert Function to insert a value.
  • Customize output extension: Choose your own extension. This is useful for system integration. For example, the default extension for a character separated file is "CSV," but you can give your export an extension of "txt" so that the file can be read by another already existing system you may have. You may also right-click and use the Insert Function to insert a value.
  • Append date/time: This is useful for the following reasons:
    • If the filename is the same each time, and it is being exported to the same folder each time, then it will be overwritten by the latest one each time. By appending date and time to the filename, each file remains unique, and no files are overwritten.
    • You can track which reports ran and when they ran by looking at what the report is named.

Misc

Power BI and SSRS. Misc section in Destination Wizard in PBRS.
  • Compress (ZIP) Output: Zips the output. Ability to use .zip encryption as well.
  • Zip File Encryption: Check the option to encrypt and password protect the zip file.
  • Defer Delivery: The report will be generated at the scheduled time, but will not be delivered to the specified destination until later.

CSV (*.csv) outputs in SSRS

To export CSV outputs in SSRS, follow these steps:

Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.
  • You can enter any character or tab as separator.
  • You can enter any character as Delimiter.

Format

The output format is selected as part of the Destinations setup for each destination type. The tab above can be found in the Destinations section of a schedule.

Format Option

  • Export Engine: You can choose between Standard and Excel.

Options

Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.
  • Append to existing file: Determine whether to append to a file if one already exists at the disk destination.

File Summary

Power BI and SSRS. CSV Output Format section in Destination Wizard in PBRS.

Naming

These options determine how the exported file will be name:

Power BI and SSRS. Naming section in Destination Wizard in PBRS.
  • This is the option where you named the output file.
  • Default Naming Convention: PBRS will name the output file in the following format: reportname.format extension, e.g. Catalog Report.pdf.
  • Customize the output file name: Choose your own filename or right-click and use the Insert Function to insert a value.
  • Customize output extension: Choose your own extension. This is useful for system integration. For example, the default extension for a character separated file is "CSV," but you can give your export an extension of "txt" so that the file can be read by another already existing system you may have. You may also right-click and use the Insert Function to insert a value.
  • Append date/time: This is useful for the following reasons:
    • If the filename is the same each time, and it is being exported to the same folder each time, then it will be overwritten by the latest one each time. By appending date and time to the filename, each file remains unique, and no files are overwritten.
    • You can track which reports ran and when they ran by looking at what the report is named.

Misc

Power BI and SSRS. Misc section in Destination Wizard in PBRS.
  • Compress (ZIP) Output: Zips the output. Ability to use .zip encryption as well.
  • Zip File Encryption: Check the option to encrypt and password protect the zip file.
  • Defer Delivery: The report will be generated at the scheduled time, but will not be delivered to the specified destination until later.