Forum Discussion

Rons's avatar
Rons
Frequent Visitor
2 years ago

exporting data from visuals

hey, im trying to find a way to export data from visuals in reports every few days automatically - is there a way to do that from the report server? maybe with api?
i would love to get some help, thank you!

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Rons ,

    Yes , you can use API to achieve this:

    • The Power BI Rest API provides endpoints for various operations, including exporting data. You can use it to automate data exports from visuals.
    • To get started, execute the first Rest API call to obtain an exportId. This ID will be used in subsequent steps.
    • Go to the Report – Export to File in Group page and enter the necessary details (such as groupId, reportId, and desired format like “PDF”) in the request body.

    Below is the link about API(export the pdf) will help you:

    Export Power BI embedded analytics reports API - Power BI | Microsoft Learn

    How to use Power BI Rest API to export the Power B... - Microsoft Fabric Community

    Best Regards,

    Xianda Tang

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