Forum Discussion
Style preset not found error
- 9 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.
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?