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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Is there any way to stop "Microsoft Power BI" and the url from being added to a printed Report?

I'm using Power BI Embedded. When printing a report "Microsoft Power BI" and the Url are added to the top of the report. Is there any way to remove this?

Capture.PNG

 

4 REPLIES 4
dm-p
Super User
Super User

Hi @Anonymous - I can't answer this from a Power BI Embedded perspective, but just wanted to throw this up as a possibility. Are you printing using the function in your web browser? If so then most browsers have a Headers and Footers option in their print dialog that is set by default.

Here's where to find in Chrome:

image.png

Here it is in Edge:

image.png

Internet Explorer (of course) is a bit different, and this can be found in Print Preview > Page Setup. Make sure all boxes in the Headers and Footers section are set to -Empty-, e.g.:

image.png

 

Hopefully this might be what you need. If not, then I'm sure one of the more experienced Embedded folks can help you out.

Good luck!

Daniel





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

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Anonymous
Not applicable

Thanks Daniel, but this is for my customers and the print function is being called using the api function report.print(), so this wouldn't work. What I'm looking for is if there is a way during the call the stop those headers from being added.

Hmmm... I've had a look at print() and its doc states that it's invoking window.print(), which is pretty much browser-specific, and has no additional parameters available to it.

I've done some research (read: furious Googling and experimenting with answers) on what can be done when working with this method, and there doesn't seem to be much that can be done about it. A lot of these articles suggest using a CSS Media Query, but I couldn't find an example that really worked.

The best I could find was this answer on StackOverflow - it's from a while ago but there is still some recently discussion on it so you may have some success - this answer from last year suggests that you might get somewhere with using modern Chrome/Firefox.

I'll have to tap-out at this point, but hopefully this might help.

Regards,

Daniel





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

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Anonymous
Not applicable

Thanks. It looks like I'll have to live with it for now.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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