Showing results for 
Search instead for 
Did you mean: 

Unexpected Error

Hi, I am getting an 'unexpected error' when I try to click on something in PowerBI Desktop on my local windows machine.

Yesterday i was working normally, now i can't even click on a graphic...


Can someone help me please.


"[$rootscope:inprog] $digest already in progress$rootscope/inprog?p0=%24digest"


and i also get another error:


"Cannot read property 'xMin' of undefined"



Re: Unexpected Error


JUST ran into the same issue - it kept throwing the same error over and over and over... you get it. 


Here's what I did -

  1. get that error dialog box to close out. 
  2. Go into Edit Queries on the Home Tab
  3. For my case - I deleted the most recent dataset I had added 
    1. Applied the changes
    2. Then saved the report
  4. The close completely out of Power BI
  5. Reopen the Report

Whatever visuals you created with that dataset will be gone - but you'll be able to get in there and redo them. 


Not exactly sure what caused it - but my guess is it got in some kind of a loop either while trying to publish data or while refreshing/ calculating. Not entirely sure. 


I don't know your exact case but that's what I did for mine without having to lose the ENTIRE report I had just created. 


Let me know if this helps! Smiley Happy 

nsiddall Frequent Visitor
Frequent Visitor

Re: Unexpected Error

Aha great!


I thought I had lost 2 months of report generation!


In my case, I had created a new column in the database, using modelling, and used that new column to create a visual. Somehow during my 'manipulation' of the visual I managed to get into an infinite loop of errors!


To fix my issue I followed your lead > but instead I copied the new column's DAX to my clipboard > deleted the column > saved as a new file (just to be safe) > re-opened it > and got a 'you fool, you've broken your visual!" type error message but now I was able to delete it!


Everything back to normal and no lost report!


Thankyou Thankyou Thankyou!

nsiddall Frequent Visitor
Frequent Visitor

Re: Unexpected Error

For anyone else that finds this thread - I have just had exactly the same error again...
It happened last time whilst working with the new trend lines feature in visuals - and has happened again whilst working with trend lines again!
Is there a trend (pardon the pun)?



Helpful resources

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 47 members 1,236 guests
Please welcome our newest community members: