Forum Discussion
How to clear Report cache in Power BI Service?
- Anonymous5 years ago
Hi all, Just want to let you know that we fixed it.
What we do
1. We delete cache in Power BI Desktop
2. Adding new data source in Power BI Desktop
3. Deploy it to Power BI Service as this will clear cache of data source in Power BI Services.
4. And we can assign the gateway to the report.
Hi Anonymous ,
Since you asked about the cache in regards to the SERVICE, I am going to assume that you are not using Premium. Premium has some of its own caching capabilities. If you are using SSAS with a Live Connection, then the behavior might use a cache of the data. If you are on live or DirectQuery, then the datasets are refreshed hourly and you can adjust the refresh frequency in the Schedule Cache Refresh option in the Service. You specifically asked about Gateway though. If you have the direct connection, you can use the Scheduled cache refresh option and change the refresh frequency.
Here is a good article about the cache:
https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-data#data-refresh
Also, in reading your question again a few times, I am wondering if your issue is not a cache or a refresh issue. Your gateway, in the image, appears to be "green" and that all is well. And, you state that you can publish it in another workspace. That may indicate that the problem is at report level itself.
If it is the report itself, then go to File-Options and Settings - Options , Under Global, select Data Load and select "clear cache" under "Data Cache Management Options" and select "clear cache" under "Q&A Cache Options" and select "clear cache" under "FOlded Artifacts Cache Options".
Then ,save and re-publish.
If that does not resolve the issue, then clear the browser's cache. Also, try in another browser. (Yes, the browser, not something in the Service or seemingly related to Power BI.)
Let us know if you do all that and how it works out.
I would appreciate Kudos if my response was helpful. I would also appreciate it if you would Mark this As a Solution if it solved the problem. Thanks!
Hello,
I have a different context but similar issue. When I use subscription, it sometimes sends the cache version rather than the "after refresh" vesion of the report. I suppose because it's very early, nobody has opened the report yet, even thought the dataset is refreshed, nobody refreshed the report itself, and the cache has an older version of the data.
So I'd like to force this report refresh after my dataset is updated.
I am not using premium workspace, I saw it was possible to use
-API ( my organization is blocking Azure app for common users so I have an open ticket with support but this takes forever)
-powershell, but I didn't understand how this can work when my computer is turned off.
Any support would be appreciated.