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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
EOW
Frequent Visitor

Remove white border added after desktop Export to PDF

I'm constrained to using only Power BI Desktop (no Service or Fabric), meaning I can't copy and paste visuals from Power BI into other software as images. A potential workaround is setting the visual to fill the page, and exporting the report as a PDF. I can then copy the whole page in Acrobat, but the PDF export has added a border around the page.

Is there a way to remove this added border, or do I need to leverage some Python to crop the pages?

1 ACCEPTED SOLUTION
EOW
Frequent Visitor

After testing and measuring, I've determined that the Desktop Export to PDF option adds 18 pts both horizontally and vertically, which can be easily cropped with a python script calling e.g. pypdf, pdfCropMargins, PyMuPDF.

View solution in original post

6 REPLIES 6
EOW
Frequent Visitor

After testing and measuring, I've determined that the Desktop Export to PDF option adds 18 pts both horizontally and vertically, which can be easily cropped with a python script calling e.g. pypdf, pdfCropMargins, PyMuPDF.

v-kathullac
Community Support
Community Support

Hi @EOW ,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.


Regards,

Chaithanya.

v-kathullac
Community Support
Community Support

Hi @EOW ,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.


Regards,

Chaithanya.

Hi @EOW ,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.


Regards,

Chaithanya.

rajendraongole1
Super User
Super User

Hi @EOW  -  There is no built-in option to disable it.

Before exporting, try resizing your Power BI page:

Go to Format > Canvas Settings in the report>>Set Page Size to Custom and adjust the dimensions to match your desired output.>> Try 16:9 (1920x1080) for a full-screen export.

Increase the height/width slightly to compensate for cropping needs.

This might minimize or eliminate the border when exporting.

 

rajendraongole1_0-1743505611286.png

 

Hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





According to my testing the white border added during the export is independent to the aspect ratio of the page, it adds roughly 18 pts of white horozontally and vertically.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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