Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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?
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.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |