Forum Discussion
Style preset not found error
- 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.
This error is because of crack of the theme. You might be using custom Json theme so try below steps:
1. Open one blank power bi file
2. In file section select open and open that report
3. It may work some times if it is not working then close the error and go to view theme and change some default theme and then try opening again.
Please vote this response as answer of it is solving your problem.
- knut122129 months agoHelper I
Hello, problem still hasn't been solved yet. I created a Power BI dashboard in the older version, and when I try to open it in the new version, I get some error messages (see image). I’d like to remove these errors without breaking or changing my visuals — especially the formulas and measures.
I want to keep my current theme and all its functionalities, but I need to fix the errors because I have an important presentation for management soon.
I discovered that in the Format your visual panel (on the right-hand side), there is an option to set the Style to Default. When I select Default, the error goes away. However, I’d like to understand exactly what happens when I set the Style to Default — does this affect my visual in any way, and if so, how?
- v-aatheeque9 months agoCommunity Support
Hi knut12212
The error occurs because the report was created in an older Power BI version, and the new version no longer supports or recognizes some of the old visual style presets.
- When you select Style → Default in the Format your visual panel, Power BI simply resets the visual’s appearance back to the standard look for that visual type. Your data, DAX formulas, measures, and visuals will not be affected or broken only the appearance (like colors, borders, or shading) might look slightly different.
- If you want to keep your current theme for future use, you can go to View → Themes → Customize current theme → Save current theme. as suggested earlier by danextian , That might matches your theme for the latest power BI version.
Hope this helps !!
Thank You.
- v-aatheeque9 months agoCommunity Support
Hi knut12212
Have you had a chance to look through the responses shared earlier? If anything is still unclear, we’ll be happy to provide additional support.