How to Stop Power BI Refresh

Cody Schneider••8 min read

When a Power BI refresh runs longer than your lunch break, canceling it becomes a top priority. A stuck or slow refresh not only halts your reporting but can also bog down system resources. This guide will walk you through exactly how to stop a Power BI refresh, whether you're working in Power BI Desktop or the Power BI Service.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Why Would You Need to Stop a Power BI Refresh?

Before jumping into the "how," it's helpful to understand the common reasons for needing to cancel a data refresh. Most scenarios fall into one of these buckets:

  • It’s taking too long: The most common reason. A refresh can get held up by massive data volumes, complex Power Query transformations, or network latency. If it affects your daily workflow or ties up system resources, stopping it becomes necessary.
  • You found an error in the source data: Sometimes you start a refresh only to realize a minute later that the underlying data in your SQL database, Excel file, or SharePoint list is wrong. Canceling the refresh lets you fix the source data before pulling it into your model.
  • You accidentally triggered it: A misclick happens. You may have started a full refresh when you only meant to make a small edit, especially on a large dataset where a refresh can take hours.
  • The refresh is stuck: Occasionally, a refresh will get "stuck" processing a particular table or transformation without making any progress. This could be due to an unresponsive data source gateway, changes in the source schema, or credential issues.

Whatever the reason, knowing how to stop the process gives you control back over your Power BI environment.

How to Stop a Refresh in Power BI Desktop

Canceling a refresh in Power BI Desktop is the most straightforward scenario. When you click "Refresh" in the Home tab, a window pops up showing you the progress as Power BI works through each of your queries.

In this window, you’ll see a running list of tables being processed. At the bottom, there is a "Cancel" button. Simply clicking this button will terminate the entire refresh process.

Sometimes, only a single query is causing the slowdown. The refresh window allows you to see exactly which table is being loaded. If one particular table seems to be taking an unusually long time, you can cancel just that part of the refresh. Look for the small 'X' button or a 'Skip' link that may appear next to the in-progress table name. This can be useful for continuing the refresh of other tables while you investigate the problematic one later.

Once you cancel, Power BI will cease pulling data. Your data model will revert to the state it was in before you started the refresh, using the last successfully loaded data.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

How to Stop a Scheduled Refresh in the Power BI Service

Stopping a running refresh in the Power BI Service is trickier because there is no big, friendly "Cancel" button available in the standard workspace view. Once a scheduled or manual refresh kicks off in the service, it's intended to run to completion (or failure). However, there are a couple of methods you can use, primarily geared towards Power BI admins or users with specific permissions.

Method 1: Turn off Future Scheduled Refreshes

Let's get one thing clear: this method will not stop a refresh that is already in progress. However, it’s a crucial first step if your refreshes are failing or getting stuck repeatedly. By disabling the schedule, you prevent the problematic refresh from trying to run again automatically later in the day or the next morning until you fix the underlying issue.

Here’s how to do it:

  1. Navigate to the Power BI Service and find the workspace containing your dataset.
  2. Hover over the dataset and click the ellipsis (...) menu, then select Settings.
  3. Expand the Scheduled refresh section.
  4. Toggle the switch under "Keep your data up to date" to Off.

This ensures no new refreshes will be queued up while you troubleshoot whatever is causing the problem.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Method 2: Cancel a Running Refresh in a Premium Capacity (Admins Only)

If your dataset is housed in a Power BI Premium or Premium-Per-User (PPU) capacity, admins can directly cancel an in-progress refresh. This is the most effective way to stop a rogue refresh in the Power BI Service.

If you're a Power BI or Capacity Admin, follow these steps:

  1. In the Power BI Service, click the Settings gear icon in the top right corner and select Admin portal.
  2. Click on Capacity settings and choose the tab for the capacity type you're using (e.g., Premium).
  3. Select the name of the capacity where the dataset resides.
  4. On the management screen that appears, navigate to the Artifacts view. This shows you all the workspaces, reports, datasets, and other items running on that capacity. Sort by memory or CPU usage to help find the problem.
  5. Find the dataset that's currently refreshing. When you locate an in-progress refresh you want to cancel, Power BI is rolling out improved controls, but historically the main option has been managing the workload settings or identifying the resource hog. Now, you may simply see a cancel option in this view.
  6. Find the refresh in the operations details list. You should see an option to cancel it. When you initiate the cancellation, the service terminates the refresh process. The refresh history for that dataset will then show "Failed" for that time slot.

This provides an immediate stop-gap for refreshes that are consuming too many resources or have clearly stalled without resolution.

Advanced Method: Using PowerShell and the REST API

For those who are more technically inclined or need to automate this process, you can cancel a refresh using Power BI's REST API, often triggered via PowerShell scripts. This method provides the programmatic equivalent of what the admin does in the UI and is especially useful for managing many datasets or embedding cancellation logic into other workflows.

What You'll Need:

  • Familiarity with PowerShell or another scripting language.
  • Administrative permissions within Power BI or at least permissions on the specific workspace.
  • The Workspace ID and Dataset ID of the model you are trying to stop.

The Process:

While canceling a refresh directly with a single PowerShell cmdlet isn't straightforward, you can use cmdlets to get the details you need to make an API call to cancel it.

  1. Connect to Power BI: First, you’ll need to install the PowerShell modules for Power BI and connect your account.
  2. Get Refresh History: You need to identify the specific ID of the refresh currently in progress. You can get a list of recent refreshes (including ongoing ones) with this command:
  3. Cancel via API Call: With the requestId (which is the refreshId), you can call the Power BI REST API to cancel it. The endpoint uses a DELETE request. The URL structure is:

This approach gives you fine-tuned control and is perfect for building custom data management tools or automated alert-and-response systems.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

What to Do After You Stop a Refresh

Successfully stopping a refresh is only half the battle. Now you need to diagnose why it got stuck in the first place.

  • Check Data Sources: Are your credentials valid? Is the on-premises data gateway running and configured correctly? Can Power BI still connect to the source file or database?
  • Optimize Power Query: Complex or inefficient M code is a major cause of slowdowns. Review your applied steps to see if any merges, appends, or transformations can be done more efficiently or pushed back to the source system (a concept known as query folding).
  • Filter Your Data: Are you trying to pull in 10 years of data when you only need one? Filter your data at the source in your SQL query or early in your Power Query steps to reduce the amount of data being processed. For very large datasets, consider implementing an incremental refresh policy.

By addressing the root cause, you'll save yourself from having to manually cancel refreshes in the future.

Final Thoughts

Knowing how to stop a Power BI refresh - whether with a simple click in Desktop, an admin action in the Service, or programmatically with PowerShell - is a critical skill for keeping your analytics operations running smoothly. It gives you the power to intervene when things go wrong and helps troubleshoot the underlying problem more effectively.

Of course, the best analytics workflow is one where you don't have to watch progress bars at all. At Graphed, we've designed our platform to eliminate the manual complexity of data refreshes and reporting. We connect directly to your marketing and sales data sources like Google Analytics, Shopify, and Salesforce, with data Graphed continuously and automatically. Just describe the dashboard you need in plain English - like "show me my ad spend vs. revenue by campaign this quarter" - and Graphed builds a live, interactive dashboard for you in seconds, so you can spend less time managing refreshes and more time answering questions.

Related Articles