Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Pedro_Ziggy
Regular Visitor

[Power BI Report Builder] - button that generates a report from MS Excel to PDF

Hello Community!

 

My scenario:
1. We have a report (paginated, prepared in Report Builder) which is downloaded by the user from Service by generating it into an MS Excel file.
2. The user verifies the content and makes any corrections manually (that's why we generate the file to MS Excel + it is a tabular structure).
3. In an ideal scenario, the user clicks the "Print PDF" button (in Excel) which contains some function/macro (as below) and we receive a PDF file.

Pedro_Ziggy_0-1721745901828.png

Result - we got a new file saved in PDF (only with 1 click).

 

Question: How do I reflect this in Report Builder? Is it possible and if so, how? Can I add a VBA macro to Report Builder or other code that will allow us to achieve the same effect? The alternative is File -> Print -> to PDF (a few more clicks, the same effect, but in the case of thousands of such documents, it is important to reduce manual work).

Thanks! I am looking forward to your support.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Pedro_Ziggy ,

I haven't found any articles on using macros with Report Builder yet.

If you need to export paginated reports multiple times, you can use Power Automate to automatically export Power BI paginated reports to the local file system. This method requires setting up a flow that triggers the export based on specified conditions.

Before you start using Power Automate to export paginated reports, make sure the following conditions are met:

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

For details, please refer to the following article:

Save a paginated report to a local folder with Power Automate - Power BI | Microsoft Learn

 

Best Regards,
Wenbin Zhou

View solution in original post

2 REPLIES 2
Pedro_Ziggy
Regular Visitor

I assume that the described situation (functionality) is not possible to implement in Report Builder. I am closing this thread.

Anonymous
Not applicable

Hi @Pedro_Ziggy ,

I haven't found any articles on using macros with Report Builder yet.

If you need to export paginated reports multiple times, you can use Power Automate to automatically export Power BI paginated reports to the local file system. This method requires setting up a flow that triggers the export based on specified conditions.

Before you start using Power Automate to export paginated reports, make sure the following conditions are met:

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

For details, please refer to the following article:

Save a paginated report to a local folder with Power Automate - Power BI | Microsoft Learn

 

Best Regards,
Wenbin Zhou

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors