Edit

Share via


Save a paginated report to OneDrive or SharePoint Online

By using Power Automate, you can automate exporting and distributing Power BI paginated reports to a variety of supported formats and scenarios. In this article, you use Power Automate to automate saving a Power BI paginated report to OneDrive for work or school or a SharePoint Online folder.

Screenshot of the Power Automate flow configured to save a paginated report to OneDrive or SharePoint Online.

For more information about Power Automate templates for Power BI paginated reports, see Export Power BI paginated reports with Power Automate.

Prerequisites

Before you begin, make sure you meet these criteria:

  • You can publish to My Workspace, or you have at least a Contributor role for any other workspace.
  • You have access to the standard connectors in Power Automate, which come with any Office 365 subscription.

Save a paginated report to OneDrive for work or school or a SharePoint Online folder

By using either of these templates, you can set up recurring exports of a paginated report in a desired format to OneDrive for work or school or a SharePoint Online folder. See the prerequisites if this is your first time using the Export to File for Paginated Reports action in a Power Automate flow.

Note

The following steps and images show setting up a flow by using the Save a Power BI paginated report to OneDrive for work or school template. Follow the same steps to create a flow by using the Save a Power BI paginated report to a SharePoint Online folder template. When selecting where you want to export your paginated report, select a SharePoint Online folder instead of a OneDrive for work or school folder.

  1. Go to flow.microsoft.com and sign in to Power Automate.

  2. Select Templates, and search for paginated reports.

    Screenshot of the Power Automate templates page showing the search field used to find paginated report templates.

  3. Select Save a Power BI paginated report to OneDrive for work or school or Save a Power BI paginated report to a SharePoint Online folder. Make sure you're signed in to Power BI and OneDrive for work or school or SharePoint Online.

    Screenshot of the Power BI and OneDrive for work or school template selection screen in Power Automate.

  4. Select Continue.

  5. Select Continue.

  6. To set the recurrence for your flow, select a Frequency and enter a desired Interval value.

    Screenshot of the recurrence settings in Power Automate showing the Interval and Frequency fields for a paginated report flow.

  7. For more options, select Show advanced options to set other Recurrence parameters, including Time zone, Start time, On these days, At these hours, and At these minutes.

    Screenshot of the advanced recurrence options in Power Automate, including Time zone, Start time, and day and hour settings.

  8. In the Workspace box, select a workspace in a reserved capacity. In the Report box, select the paginated report in the selected workspace you wish to export. In the Export Format box, select the desired export format. Optionally, you can specify parameters for the paginated report. For detailed descriptions of the API parameters, see the connector reference for the Power BI REST API.

    Screenshot of the Power Automate flow step showing workspace, paginated report, and export format selection fields.

  9. In Folder Path, select the OneDrive for work or school or SharePoint Online folder where you want to export your paginated report.

    Screenshot of the Power Automate flow step showing the Folder Path setting for exporting a paginated report to OneDrive or SharePoint Online.

  10. Power Automate automatically generates a File Name and File Content for you. You can change the file name, but keep the dynamically generated File Content value.

  11. When you're done, select Next step or Save. Power Automate creates and evaluates the flow, and lets you know if it finds errors.

  12. If there are errors, select Edit flow to fix them. Otherwise, select the Back arrow to view the flow details and run the new flow.

    When you run the flow, Power Automate exports a paginated report in the specified format to OneDrive for work or school or SharePoint Online.