Forum Discussion
Need some input for "This API can only be called on a Model-based dataset"
Mitsql wrote:
I am trying to use it with Directquery dataset. Basically, would like to minimize 15 mins auto refresh and trying to refresh dataset every 5 mins by calling refresh endpoint.
Thanks..
- The dataset refresh API doesn't support DirectQuery mode dataset. Actually the reports in DirectQuery mode retrieve the latest data everytime you access them, you don't refresh them. If you're talking about the direct query cache, AFAIK, you can only use the default setting intervals.
- For other datasets not in DirectQuery mode, the REFRESH api is also limited 8 times(48 times for Premium license) a day.
Thanks, Eric_Zhang & Greg_Deckler for the prompt reply...
I have schedule cache refresh for 15 mins (want it to go by 5 mins but min option here is 15)
Is there a way I can refresh directquery dataset every 5 mins?
Highly appreciate your help.
- Greg_Deckler8 years ago
Community Champion
My understanding of DirectQuery is that you are live querying the data set at the time of report rendering. However, that probably really means querying the cache of the dataset as you indicate. If you can't get the cache to update faster than 15 minutes and you need more immediacy, the only other thing that I can figure is if you can create a streaming data feed and wire it up to Power BI.