Forum Discussion

ajet-p_91's avatar
ajet-p_91
Frequent Visitor
2 years ago
Solved

Export to PDF with button

Recently, I created a dashboard and I need to add a button. When the end user clicks on the button, the entire dashboard should be downloaded in PDF format. I have a Power BI Pro license. How can I achieve this? Please help.

 

Thank you.

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi ajet-p_91 

    You can implement the need to download the report through the REST API or Power Shell, but these are not achieved through a download button. Because export as pdf this operation, each time the corresponding link is different, even for the same file. You can see my screenshot below. When you copy this link and open it in another web page, it will show file not found.

    Based on this situation, I would still recommend that you have the end customer export directly on report . End customers can export files directly from the report as long as they have read access, provided they have the corresponding license on their account.

     

    Best Regards,
    Community Support Team _ Ailsa Tao
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ajet-p_91 

    The dashboard doesn't support export to PDF, so you can't set the button to export the whole dashboard directly. Even through the add button, the link to export the pdf is carried out in the background, in the case of obtaining the relevant URL, the operation is not possible.

    You can only export as a pdf inside the report . The report itself has an export function, so there's no need to implement it by adding a button. 

     

    Best Regards,
    Community Support Team _ Ailsa Tao
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

  • ajet-p_91's avatar
    ajet-p_91
    Frequent Visitor

    Hi Anonymous 
    I am using the embedded link to show the report on a web page. How can I enable the download option for an embedded report 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ajet-p_91 

    You can implement the need to download the report through the REST API or Power Shell, but these are not achieved through a download button. Because export as pdf this operation, each time the corresponding link is different, even for the same file. You can see my screenshot below. When you copy this link and open it in another web page, it will show file not found.

    Based on this situation, I would still recommend that you have the end customer export directly on report . End customers can export files directly from the report as long as they have read access, provided they have the corresponding license on their account.

     

    Best Regards,
    Community Support Team _ Ailsa Tao
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.