Forum Discussion
Lookup Data Refresh schedule
Hi Gang,
Does anyone know if there is a way to lookup the "Next scheduled" data refresh time/date? I know I can write a measure that can display to the times I intend to schedule, but I often adjust refresh schedules depending on demand and don't want to have to also remember to change the measure in the report. Thanks in advance!
Hi jflores ,
For your matter, you can use this REST API call:
Datasets - Get Refresh Schedule - REST API (Power BI Power BI REST APIs) | Microsoft LearnHope this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
2 Replies
- tackytechtomMost Valuable Professional
Hi jflores ,
For your matter, you can use this REST API call:
Datasets - Get Refresh Schedule - REST API (Power BI Power BI REST APIs) | Microsoft LearnHope this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/ - MigasukeMemorable Member
Hi jflores ,
as far as I know, there is no DAX function, which can do it. Only solution I have in mind is that, you could sent API request for PBI Service, where you can get information about your schedules. After getting this informaition, you can use it in your PBI Report.
It definitely requires some time and resources to implement so probably not worth it.
FYI, there is a sample of PBI Response for one of my PBI Dataset, which could be used:{ "@odata.context":"http://wabi-west-europe-e-primary-redirect.analysis.windows.net/v1.0/myorg/$metadata#Microsoft.PowerBI.ServiceContracts.Api.V1.RefreshSchedule","days ":[ "Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday" ],"times":[ "07:00" ],"enabled":true,"localTimeZoneId":"Romance Standard Time","notifyOption":"MailOnFailure" }