Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
micwebnet
Microsoft Employee
Microsoft Employee

Why is cancelling refresh so heavy weight?

Whenever I cancel a refresh I mistakenly start in Power BI Desktop it takes forever to truly cancel. The app hangs (ghosts) and even after it becomes responsive, interactivity is impacted. On a large report this can drag for a good minute. Why can't cancel literally kill the ongoing refresh and go back to existing data set?

 

Thanks, Michael

4 REPLIES 4
mateoc15
Advocate II
Advocate II

I was getting this during the process of recovering an unsaved file.  That's saved locally.  My data sources are all behind a VPN, so I just disconnected the VPN.  Something similar might work if you delete or just move the files it's trying to connect to, or disconnect from the internet, turn off the database server, etc.  Got an error message pretty quickly, reconnected and fixed from there.

ColinG
Frequent Visitor

@micwebnet You are a MS employee? Why are you asking us? lol....

 

I have recently, within the last 3 or 4 weeks, been experiencing the same thing. Does anyone have any more info on this?

Anonymous
Not applicable

Well, having a couple of times been forced to kill PBI after waiting several hours for a stuck query to cancel, I think this is something the developers to pay some attention to. (And, no, ending the mashup processes didn't do the trick: they were all idle anyway. It was the cancelling that was taking hours, not just the query.)

ImkeF
Community Champion
Community Champion

I don't know why it takes so long, but I know a shortcut 😉 

https://wp.me/p6lgsG-13m

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.