Forum Discussion
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?
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.
11 Replies
- Kishore_KVNSolution Sage
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.
- knut12212Helper 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-aatheequeCommunity 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.
- AnalyticPulseSolution Sage
hi knut12212 when you are working in powerbi make sure you dont switch the versions in your developement period as newer version sometimes unable to edit or open the file as you have shown us in this post(or you face this issue if you edit the old version pbix file in newer version and then someone in your team try to open it in their old version app). once you start developing in certain version try to keep the version same unless you test everything before updating the powerbi desktop app, if there are multiple people working on the same proeject and you share the developement file with each other then they will not be able to access the report if you make changes in the different version. this is rule of thumb.
My Work:
Analytic Pulse Blog
Docynx Productivity Tools
Generate Realistic Sample Data Instantly online - v-aatheequeCommunity 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.