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 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
Hello, I have the same problem but I didn't save an older version of my dashboard. What I can do for solve the problem? The problem starts to appear since I update to the new version of Power BI Desktop.Thanks!