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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
anthony_snk
Regular Visitor

Export a report from PBI Server

Hi, I would like to know if it's possible to export a report from Power Bi Server with code or It's just possible with power BI pro or embedded.
I have a report and I want to export to PDF or images. 
Thanks.


1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

Yes this is possible and you don't even need much code. The simplest way to do this is with URL parameters using the ReportServer endpoint (see https://docs.microsoft.com/en-us/sql/reporting-services/url-access-parameter-reference?view=sql-serv...)

 

Passing the url parameters something like the following would get you a PDF:
http(s)://<server>/ReportServer?<pathToReport>&rs:Command=Render&rs:Format=PDF

 

And if your report has parameters you can pass those in on the url also.

View solution in original post

5 REPLIES 5
SukTech
Frequent Visitor

This Methord http(s)://<server>/ReportServer?<pathToReport>&rs:Command=Render&rs:Format=PDF

is applicable to pbix reports in Power bi report server ?

KBO
Memorable Member
Memorable Member

HI @anthony_snk ,

maybe my solution is to easy but I would print it with the print function and configure the printer as PDF creator. 

PDF RS.png

 

Best,

Kathrin

 

 

 

 

If this post has helped you, please give it a thumbs up!
Did I answer your question? Mark my post as a solution!

d_gosbell
Super User
Super User

Yes this is possible and you don't even need much code. The simplest way to do this is with URL parameters using the ReportServer endpoint (see https://docs.microsoft.com/en-us/sql/reporting-services/url-access-parameter-reference?view=sql-serv...)

 

Passing the url parameters something like the following would get you a PDF:
http(s)://<server>/ReportServer?<pathToReport>&rs:Command=Render&rs:Format=PDF

 

And if your report has parameters you can pass those in on the url also.

Is it possible to specify an file name for the exported pdf file?


@JeremieB wrote:

Is it possible to specify an file name for the exported pdf file?


No, it defaults to the name of the report and there is no option to specify an alternate name

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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