Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
redhill
Regular Visitor

Can I check gateway refresh queue?

Hi. I have a lot of reports on same gateway. Sometimes, one report of them waits really long time but didn't get timeout. I think those reports in the refresh queue. Can I check gateway refresh queue for example right now? Which one is refreshing now, and which one will refresh next? and next... Like playlist maybe 🙂 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. You can't check that on the gateway. The gateway won't store any information about all the things it is refreshing. The schedule refresh is something stored at datasets info. It is like that because you can have datasets without gateway, so that can be checked only for datasets.

As an approach, you can build a dataset getting data from PBI Rest API in order to store data keeping datasets with gateway and their schedules.

You can start getting datasets filtering by gateway required: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-as-admin

Then get refresh schedule for each dataset: https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-schedule-in-group

Transform and clean the data and you will have a dataset with the timelines of all datasets using gateways.

I hope that helps,

P/D you can use libraries to read API easier like SimplePBI for python.


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

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. You can't check that on the gateway. The gateway won't store any information about all the things it is refreshing. The schedule refresh is something stored at datasets info. It is like that because you can have datasets without gateway, so that can be checked only for datasets.

As an approach, you can build a dataset getting data from PBI Rest API in order to store data keeping datasets with gateway and their schedules.

You can start getting datasets filtering by gateway required: https://learn.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasets-as-admin

Then get refresh schedule for each dataset: https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-schedule-in-group

Transform and clean the data and you will have a dataset with the timelines of all datasets using gateways.

I hope that helps,

P/D you can use libraries to read API easier like SimplePBI for python.


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors