This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Power BI enables anyone to get insights from data in minutes. But, to unlock the full potential of Power BI, the data needs to be kept up-to-date. Scheduling dataset refreshes in Power BI allows you to do this, regardless of how your dashboards and reports are distributed and consumed. However, we’ve heard feedback that it can be difficult to manage the increasing number of datasets and refresh schedules as an organization scales up Power BI.
Today, I am excited to announce the general availability of new APIs for managing data refresh in the Power BI service. These new APIs will allow you to programmatically trigger data refreshes and retrieve refresh history for any dataset that you own. With these versatile new tools, you’ll be able to easily automate and scale out Power BI data refresh management – no more clicking through dataset settings or flipping through refresh histories. In addition, these APIs open the door to integrating data refresh into your existing ETL or deployment processes. You could, for example, trigger Power BI data refresh as the last step in your Azure Data Factory ETL pipeline. And, as an ISV, you can easily manage the data for all your embedded analytics solutions.
We’re very excited about what you can accomplish with these new tools. Read on for an overview of how to use them, and all these tools can do for you. Or, jump right into the documentation or sample code.
To trigger refresh for a dataset in the Power BI service, simply make the following HTTP Request. You can craft this request using an HTTP utility like Fiddler, or by running our sample code.
Some additional tips:
You can also check refresh history for a particular dataset by making a GET request to the same endpoint.
The service will then return a list representing the refresh history for that dataset, with the same information that you’d see in the refresh history UI in the service.
{ "value":[
{
"id":252103441,
"refreshType":"Scheduled",
"startTime":"2017-06-16T08:02:05.69Z",
"endTime":"2017-06-16T08:14:29.61Z",
"status":"Completed"
},
{
"id":251845601,
"refreshType":"ViaApi",
"startTime":"2017-06-16T00:10:46.087Z",
"endTime":"2017-06-16T00:10:53.04Z",
"status":"Completed"
},
// and etc…
}Some additional tips:
We’re excited to see what you can accomplish with our new APIs. Check out our resources below to get started. And as always, please leave feedback or questions below or in the community – we’d love to hear from you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.