Reply
Advisor
Posts: 12
Registered: ‎09-14-2016
Accepted Solution

SSRS reports in PBI premium - API Call to download CSV or PDF reports

We currently use Power BI premium (PBIE for embedding into applications and PBIS for Self service). We also use an on-premise SSRS 2017 server for generating paginated reports (CSV and PDF) by calling the API from the application. If I move the .rdl file to PBIS, how do I call the report to download the CSV or PDF into my application.

 

GET https://api.powerbi.com/v1.0/myorg/reports/{reportKey}

 

This does not allow me to pass the rs:Format=CSV parameter like in SSRS 2017. Any thoughts as to how I can achieve this?


Accepted Solutions
Power BI Team
Posts: 60
Registered: ‎06-10-2016

Re: SSRS reports in PBI premium - API Call to download CSV or PDF reports

hi sanathv,

 

API support for exporting Paginated Reports in PowerBI.com service is planned but not yet implemented. It is on our roadmap but team will not be getting to it for the next few months.

 

Thanks,

Rohit

View solution in original post


All Replies
Community Support Team
Posts: 2,482
Registered: ‎03-15-2018

Re: SSRS reports in PBI premium - API Call to download CSV or PDF reports

Hi @sananthv

Do you mean:

You create some datasets and reports in power bi service, 

then embed these contents from power bi service into your applications.

next you get data from your applications and create paginated reports in on-premise SSRS 2017 server.

finally you want to put paginated reports in power bi service and then embed paginated reports to your application.

 

right?

 

You could read these articles to get some ideas:

https://docs.microsoft.com/en-us/power-bi/paginated-reports-embedded-data-source

https://docs.microsoft.com/en-us/power-bi/paginated-reports-parameters

 

Best Regards

maggie

 

Advisor
Posts: 12
Registered: ‎09-14-2016

Re: SSRS reports in PBI premium - API Call to download CSV or PDF reports

[ Edited ]

Thank you for the response. I think I did not articulate the issue well. I have already created the paginated report and published to the service (with the intension of shutting down the onpremise SSRS server eventually).  I can render the report in my application and the user needs to manually save it as a Word/Excel/PDF etc file.  This is working fine.

 

This is not my requirement. My requirement is to get the report directly in Word/Excel/PDF etc formats. Https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreports does not have any documentation on how to pass parameters to get the report in Word/Excel/PDF etc directly from the paginated report. 

Power BI Team
Posts: 60
Registered: ‎06-10-2016

Re: SSRS reports in PBI premium - API Call to download CSV or PDF reports

hi sanathv,

 

API support for exporting Paginated Reports in PowerBI.com service is planned but not yet implemented. It is on our roadmap but team will not be getting to it for the next few months.

 

Thanks,

Rohit