Forum Discussion

bongmw's avatar
bongmw
Helper I
5 years ago

How to trigger Power BI REST API Refresh with Local Time Zone applied?

We are using Incremental Refresh, and intend to use REST API to trigger dataset refreshes.

 

We found that the "Effective Date" applied during a manual refresh is based on UTC time. Because of this, and with incremental refresh we effectively lose a day of data for several hours of the day (we are on UTC +12 timezone).

 

We noticed that when we enable Scheduled Refresh on Power BI Service and specify the Local Time Zone, any subsequent manual refreshes with REST API will pull the correct date range of data. However, this introduces an unwanted Scheduled Refresh.

 

Is there any way to trigger the refresh using the correct Local Time Zone, without having to enable Scheduled Refresh?

 

Or is there something we are missing?

2 Replies

  • hi Lionel,

     

    From the link you have provided there does not seem to be any mention of specifying the time zone info.

     

    I know you can stick the LocalTimeZoneId in when configuring the refresh schedule  

     

    But the refresh API does not seem to offer any thing similar.

     

    We have decided to pursue using TMSL to kick of the refresh, which offers the option of specifying effective date.