Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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?
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:
Here it is in Edge:
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.:
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
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thanks. It looks like I'll have to live with it for now.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |