cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JZT
Frequent Visitor

How to get Dataflow wait times (and more) using the Power BI REST API?

Hello!

 

I'm attempting to query the REST API for Dataflow refresh information. I have been using the below endpoint and while it brings back some information it doesn't bring back everything. Is there another endpoint that gives more information such as wait time, rows processed, processor time, etc.

 

https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows/get-dataflow-transactions

 

This information is available from the Web service when looking at Dataflow refresh history, so surely there's a way to get this programatically?

 

Some of this data must be available to consume, as the data model from the "Power BI Premium Capacity Metrics" App has wait times. Unfortunately this App only shows recent refreshes (and not all required data), and it's impossible to trend over any large length of time, so we can't use it for our needs.

 

Thanks in advance 🙂

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @JZT ,

 

Refresh History for the dataflow by navigating to Dataflow > Settings > Refresh History. You can also select the dataflow in the Workspace > context menu (…) > Refresh History.

 

For more details you can refer this link.

Understanding and optimizing dataflows refresh - Power BI | Microsoft Docs

 

Best Regards

Community Support Team _ chenwu zhu

 

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

As mentioned in my post, I already know how to get this from the Web service. I am specifically looking to get this programatically from the API.

 

Please read my post again to understand the actual issue.

 

Thanks.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.