Forum Discussion

Tom-ADV's avatar
Tom-ADV
Frequent Visitor
3 years ago
Solved

Refresh report data using REST API

Hi, we are developing an app that uses Power BI to generate reports. The data we are using comes from a local MySQL server hosted on our local network. The PBI reports use the tables from the MySQL database, which are regularly updated. Naturally, we need to update the reports with fresh data as it becomes available. Typically, the "refresh" button does the job, but we need to automate this process.

 

We recently started using the PBI REST API, and while browsing the documentation, I couldn't find the term "refresh data." So, I am not sure if "update report content in group" is what I am looking for...

https://learn.microsoft.com/en-us/rest/api/power-bi/reports/update-report-content-in-group

If there are multiple steps involved, I would very much appreciate it if someone could list them.

Thanks!

  • Hey,

    Yes,whenever you publish a report a dataset gets craeted along with it

    Since your source is present within a vnet, in order for your report to referh in power BI service (cloud), you need to set up a gateway between your datasource Vnet and powerbi cloud which is on premises gateway

5 Replies