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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.