The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Solved! Go to Solution.
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.
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.
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.
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 - 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.
Hope this helps.
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.
User | Count |
---|---|
81 | |
74 | |
42 | |
30 | |
28 |
User | Count |
---|---|
108 | |
96 | |
53 | |
48 | |
47 |