Forum Discussion

jflores's avatar
jflores
Frequent Visitor
3 years ago
Solved

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!

2 Replies

  • Migasuke's avatar
    Migasuke
    Memorable 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"
    }