Forum Discussion
Unexpected Error: Cannot read property 'singleVisual" of undefined
- 10 years ago
I have found a workaround to this problem:
- I took an older version of the dashboard that was saved before i changed my data model. I made a copy of it and changed the PBIX extension to ZIP and then placed all of the root files from my new data model file into this older file. So the layout file remained the same, but the data model file as well as all of the other files in the root folder were overwritten with the new files.
- Then I rezipped it, and renamed it to PBIX and opened the file. The file opened with no errors and I simply had to fix a few visuals that could no longer find their field and voila!
I hope this helps anyone else out. It looks like editting the files in notepad can easily cause corruption, but moving files around seems like an option for now.
In the future, it would be nice if the program had more error-handling to prevent looping pop up errors.
Thank you,
Bobby
I sent a frown of the second error, but was unable to catch the first one. I will try to replicate and send it today.
I just received this same error yesterday, and stupidly saved the file. So on the bright side, I can reproduce it, and have sent a frowny in this morning with all the details, including what I believe I did when it occurred (converting a table to a matrix and manipulating rows and columns).
I hope this information helps solve the problem. I unfortunately may need to start over with a new file, as the error has stopped any ability to use the reports view.
Regards,
Brian