Forum Discussion

sdhn's avatar
sdhn
Icon for Responsive Resident rankResponsive Resident
1 year ago

Link to generate report in PDF format

Hi All,

 

I have a question for you. To generate a report in PDF format, we currently follow these steps:

Steps to Generate a Report in PDF Format:

  1. Open the report in the Power BI Service (web interface).
  2. Click on the File menu (located in the top-left corner).
  3. Select Export to PDF.
  4. Power BI will generate the PDF and prompt you to download it.

However, one of the client has requested a link on the report itself to generate the PDF directly. Is this possible?  if yes, how? 

Thanks,

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi sdhn ,
    According to what you mean is that the user wants to create a link in the report to directly realize the jump to PDF, right?
    Feasibility is there, but more complex, you need to call the REST API, the report will be converted to PDF, and then by way of encapsulation, encapsulated as a web service, so that users can directly click on the link to trigger the API call to convert the bit of PDF mode, the following is the document I found for you I hope you can help!
    Reports - Export To File - REST API (Power BI Power BI REST APIs) | Microsoft Learn

    Hope it helps!

    Best regards,
    Community Support Team_ Tom Shen

    If this post helps then please consider Accept it as the solution to help the other members find it more quickly.