Power BI REST API for exporting report as pdf with parameters

Henry Kwok Kei Siu 0 Reputation points
2023-05-04T08:23:45.04+00:00

Currently we are using Power BI App for report generation and viewing on the app.

Ref: https://learn.microsoft.com/en-us/rest/api/power-bi/reports/export-report#code-try-0

For the report generation, we will need to input an ID (AKA parameter) for Power BI to generate that report accordingly. With the existing RESTFUL API from MS support export certain Power BI report by the reportID,

which is working flawlessly as expected. But in such case, may I know that it is possible for us to generate & receive the report via API by passing the parameter to Power BI API endpoint in order to generate that report with our specific data from the DB depends on the API request input (parameters).

I have go through the existing discuss chain for related issue, and there are no suitable solution.

Ref: https://community.powerbi.com/t5/Developer/Export-to-file-Power-BI-Report-with-Filters-Parameters/td-p/998370

May you please advice a better solution or a way to work around. Thanks a lot .

User's image

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,041 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,849 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AniyaTang-MSFT 12,341 Reputation points Microsoft Vendor
    2023-05-05T01:12:02.0833333+00:00

    Hi @Henry Kwok Kei Siu

    I am responsible for SSRS related issues. I'm not very familiar with Power BI. For questions about Power BI, I suggest you go to the relevant forums and ask questions.

    Here is a link to the forum: https://community.powerbi.com/.

    Hope this helps you.

    Best regards,

    Aniya

    0 comments No comments