Forum Discussion
Issue Updating Dataset in Power BI Service – COM Error: A Task Was Canceled
- 7 months ago
Hi asacero ,
In Power BI Service, this error typically indicates that the dataset refresh was forcibly terminated. The most common causes include:
Service timeout limitations
Memory constraints during refresh
On-premises data gateway limitations
Inefficient query execution within the Power BI Service environmentTry these troubleshooting and resolution Steps
1. Review Refresh History
Navigate to Power BI Service > Dataset > Refresh History and review the duration of the refresh before it fails
Whether any tables complete successfully before the failure occurs2. Isolate the Problematic Table
In Power BI Desktop:Disable refresh for approximately half of the tables
Publish the dataset > Trigger a refresh in Power BI Service > Repeat the process to identify the specific table causing the failure3. Optimize Power Query Transformations
Ensure queries are optimized by:Applying filters as early as possible
Avoiding the use of Table.Buffer
Preserving query folding4. Enable Incremental Refresh for large datasets
If the dataset contains a large volume of historical data, enabling incremental refresh can significantly reduce refresh duration and memory usage.
Hope this helps.
Thank you.
Hi asacero ,
May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.
Thank you.