Forum Discussion

knut12212's avatar
knut12212
Helper I
9 months ago
Solved

Style preset not found error

I keep getting the following error after opening an old dashboard that I created with an earlier version of Power BI in a newer version. How am I able to fix that?  
  • v-aatheeque's avatar
    v-aatheeque
    8 months ago

    Hi knut12212 

    Based on the above error ,Since this issue occurs after saving the current theme and trying to re-import it, the problem is most likely due to an invalid or corrupted theme JSON file.

    Here are some additional troubleshooting steps:

     

    • Make sure the theme file is valid JSON (no missing commas, brackets, or quotation marks).
    • Use a JSON validator or a code editor with JSON linting to verify the structure.
    • Even a small syntax error can cause the import to fail.
    • Remove complex or auto-generated sections such as:
    • visualStyles
    • Custom visual blocks
    • Preview-feature related properties
    • If the report contains custom visuals, try removing them temporarily and then export the theme again.

    Some theme properties depend on the Power BI Desktop version.
    Make sure your Power BI Desktop version supports the theme features used.

     

    Hope this helps !!

    Thank You.