Forum Discussion
Direct Query Datasets not refreshing
Hello
I noticed that some of my Direct Query reports / datasets were not updating upon refresh, and I would have to initiate a refresh in order to get the latest data. In the Settings, I tried to see what was causing this issue and discovered some differences between a dataset that refreshed on its own (every hour) vs. the ones that did not work.
Below is the settings for the report that is working correctly. Based on the Cache refresh history, it refreshes every hour.
In the other dataset report settings that do not refresh, I do not see the message 'The data gateway is online and your data sources are online' and I do not see 'Scheduled cache refresh' but 'Scheduled refresh' instead as if it was an import. I double checked these datasets and confirmed they are all Direct Query.
Does anyone know why this is happening?
Thanks
- Anonymous6 years ago
Hi lilych,
Normally they will follow the connection mode of the data model tables.
The scheduler refresh configured is based on 'import' mode but 'live mode connection' contents should trigger their refresh when your interaction with them. (notice: composite mode means your report exists multiple types of mode, it does not mean 'live' mode data will convert to 'import' and update as same as the configuration in scheduler refresh)You can also take a look at the following document to know the different refresh modes in power bi.
Data refresh in Power BI
Regards,Xiaoxin Sheng
4 Replies
- amitchandakSuper User
lilych , log an issue
- AnonymousNot applicable
Hi lilych,
Any other type of query table in your report? If you are working with a composite mode report, it will shows the scheduled refresh configuration instead of direct query mode.
Use composite models in Power BI Desktop
Regards,
Xiaoxin Sheng
- lilychHelper II
Hi Anonymous,
Thanks - if it is a composite model, does the DirectQuery part of the model not update upon refresh of the page and abides by the import / scheduled refresh?
- AnonymousNot applicable
Hi lilych,
Normally they will follow the connection mode of the data model tables.
The scheduler refresh configured is based on 'import' mode but 'live mode connection' contents should trigger their refresh when your interaction with them. (notice: composite mode means your report exists multiple types of mode, it does not mean 'live' mode data will convert to 'import' and update as same as the configuration in scheduler refresh)You can also take a look at the following document to know the different refresh modes in power bi.
Data refresh in Power BI
Regards,Xiaoxin Sheng