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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors