Forum Discussion

rlansing's avatar
rlansing
Resolver I
10 years ago
Solved

Unexpected Error: Cannot read property 'singleVisual" of undefined

Hello, I am having an issue with my PBIX file. I have recently changed my data model. I took one large table and split it into two, by dividing the product characteristics and weekly sales data. It ...
  • rlansing's avatar
    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