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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
bongmw
Helper I
Helper I

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 2
bongmw
Helper I
Helper I

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.

 

 

 

 

v-lionel-msft
Community Support
Community Support

Hi @bongmw ,

 

The refresh time needs to be defined by code in the script. You can use the code to specify the time as the local time, so this problem does not exist.

You can use PowerShell to call the API.

Refreshing all datasets in Power BI using REST API (technovert.com)

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.