If Power BI Desktop is showing stale results, behaving unusually, or using more memory than expected, clearing its cache may help. The quickest option is built into the application: open Power BI Desktop’s settings, go to the data-loading options, and select the cache-clearing control. For more stubborn problems, you may need to close the application and remove temporary workspace files carefully.
Here’s how to clear the Power BI Desktop cache, what the different cache types affect, and what to try if clearing the cache does not solve the problem.
What Does the Power BI Desktop Cache Do?
Power BI Desktop stores temporary information to make tasks such as loading data, previewing queries, and working with reports faster. Depending on your actions and settings, cached information may include data previews, query results, and temporary files created while the application is running.
A cache is not the same as the data stored in your Power BI model. Your model contains the data and metadata saved in the report file, usually an .pbix file. Clearing a temporary cache generally removes information Power BI can recreate; it is not intended to delete the report or its saved model.
However, clearing the cache can make the next preview or refresh slower because Power BI may need to retrieve or recalculate information again. It also may not fix every issue. For example, problems caused by incorrect credentials, broken queries, or a faulty data source usually need a different solution.
How to Clear the Cache in Power BI Desktop
For most users, the built-in option is the safest and simplest way to clear the Power BI Desktop cache. Menu labels can vary slightly between versions, but the setting is generally found under Data Load options.
- Open Power BI Desktop.
- Select File in the top-left corner.
- Choose Options and settings, then select Options.
- In the Options window, look under Global and select Data Load.
- Find the cache-management section. Depending on your version, it may be labelled Data Cache Management Options or have a similar name.
- Select Clear cache, then confirm if Power BI prompts you.
- Close and reopen Power BI Desktop if the issue persists or the application recommends restarting.
After clearing the cache, reopen the affected report and try the operation that was causing trouble. For example, refresh the preview in Power Query, load the report again, or run a refresh. The first attempt may take longer while Power BI rebuilds temporary information.
If you do not see a cache button, check that you are in the global Data Load settings rather than the current-file settings. You can also update Power BI Desktop and look for the equivalent setting in your installed version.
Clear the Power Query Preview Cache
Power Query uses previews to show sample results as you create or edit queries. These previews help you inspect data without necessarily loading the complete model. If a preview appears outdated or does not reflect a recent change, clearing the application cache and refreshing the preview may help.
To test a query after clearing the cache, open Power Query Editor and select the affected query. Use the refresh option for the preview, or refresh the preview for all queries if you need to check several at once. The exact wording and location of these controls may vary by Power BI Desktop version.
Keep in mind that a preview is not always the same as the final data loaded into the model. Power Query can use a limited sample or apply steps differently during preview and full refresh. If the loaded model is wrong, review the query steps, filters, data types, and source data rather than assuming the preview cache is the cause.
Clear Temporary Workspace Files Manually
If the built-in cache-clearing option does not resolve a persistent issue, temporary Analysis Services workspace files may be involved. Power BI Desktop creates local workspace files while reports are open. Removing them manually should be a later troubleshooting step, not the first choice.
- Save your work and close every open Power BI Desktop window.
- Check that no Power BI Desktop process is still running. If necessary, use Task Manager on Windows to confirm the application has closed.
- In File Explorer, enter
%LOCALAPPDATA%\Microsoft\Power BI Desktop\in the address bar and press Enter. - Look for a folder named
AnalysisServicesWorkspaces. If it exists, you can delete its contents while Power BI Desktop is closed. - Reopen Power BI Desktop. It will create new temporary workspace files as needed.
The location can differ depending on how Power BI Desktop was installed, including whether you use the Microsoft Store version. If the path above does not exist, do not delete unrelated folders or files. Search your local application data for the Power BI Desktop workspace folder, or use the built-in cache option instead.
Never remove workspace files while Power BI Desktop is open. Do not delete your .pbix files, report folders, or other application data just because a folder name contains “cache.” If you are unsure what a file does, leave it in place and use the application’s settings.
Clear Data Source Permissions When Credentials Are the Problem
Sometimes a refresh error looks like a cache issue but is actually caused by saved credentials or permissions. Clearing the cache does not necessarily remove a saved sign-in or change the permissions Power BI uses to access a source.
To review those settings, open File > Options and settings > Data source settings. Select the relevant source and choose the available option to edit or clear its permissions. You may need to sign in again the next time Power BI connects to that source.
Use this step only when you need to reset a connection or address an authentication problem. Clearing permissions can interrupt scheduled or manual workflows until you provide valid credentials again. If your report uses several sources, make sure you select the correct one.
Power BI Desktop Cache vs. Other Types of Cache
“Power BI cache” can refer to several different things. Identifying which one is causing the problem helps you choose the right fix.
- Desktop data cache: Temporary information managed by Power BI Desktop. Use the Data Load cache-clearing option as your first step.
- Power Query preview: Temporary preview results shown while editing queries. Refresh the preview after clearing the cache.
- Local workspace files: Temporary files used by an open Desktop report. Close the application before removing workspace files manually.
- Saved credentials and permissions: Connection details for data sources. Manage these through Data source settings rather than treating them as preview data.
- Power BI Service or browser cache: Information associated with the online service or your web browser. Clearing the Desktop cache will not necessarily clear a browser’s stored data or change a published report.
If the issue appears only in Power BI Service, troubleshoot the service, browser, dataset, or refresh process separately. Clearing a local Desktop cache affects your computer; it does not directly clear a cache for every person viewing a published report.
When Should You Clear the Power BI Desktop Cache?
Clearing the cache can be useful when a query preview seems stuck, the application behaves unexpectedly after an update, or troubleshooting steps point to stale temporary data. It may also help when Power BI Desktop is using unusual amounts of storage for temporary files.
It is not necessary to clear the cache on a routine schedule. Power BI uses cached information to improve performance, and removing it without a specific reason can make subsequent work slower. Try restarting the application first if the problem is minor, then clear the built-in cache if needed.
What to Try If Clearing the Cache Does Not Work
If the same problem remains, use the error message and the stage where it occurs to guide your next steps. A refresh failure, for example, could be caused by the source being unavailable, changed column names, expired credentials, privacy settings, or a network issue.
- Confirm that the data source is available and that you can connect to it outside Power BI Desktop.
- Check credentials and permissions for the affected source.
- Review Power Query steps for errors, renamed fields, changed data types, or filters that return unexpected results.
- Restart Power BI Desktop and install a current supported version if you are using an outdated release.
- Check whether the issue affects one report or all reports. A problem isolated to one file may be related to its queries or model.
- Keep a backup copy of an important report before attempting deeper troubleshooting.
For recurring problems, note the exact error text, the data source involved, and whether the issue occurs during preview, refresh, or report interaction. Those details make it easier to distinguish a cache problem from a connection, query, or model issue.
Conclusion
To clear the Power BI Desktop cache, go to File > Options and settings > Options > Data Load, then select the cache-clearing option available in your version. This built-in method is the best place to start. If necessary, close Power BI Desktop completely before removing temporary workspace files, and avoid deleting unrelated application data.
Remember that cache clearing does not refresh every kind of Power BI data, reset credentials automatically, or fix broken queries. Once the cache is cleared, refresh the relevant preview or report and investigate the data source or permissions if the problem continues.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.