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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
jflores
Frequent Visitor

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!

1 ACCEPTED SOLUTION
tackytechtom
Super User
Super User

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 Learn

 

Hope this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

View solution in original post

2 REPLIES 2
tackytechtom
Super User
Super User

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 Learn

 

Hope this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Migasuke
Super User
Super User

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"
}

 



 

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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